8th day of python challenges 111-117

This commit is contained in:
abd.shallal
2019-08-04 15:26:35 +03:00
parent b04c1b055f
commit 627802c383
3215 changed files with 760227 additions and 491 deletions

View File

@@ -0,0 +1,2 @@
""" public toolkit API """
from . import extensions, types # noqa

View File

@@ -0,0 +1,13 @@
"""Public API for extending pandas objects."""
from pandas.core.dtypes.dtypes import ( # noqa: F401
ExtensionDtype,
register_extension_dtype,
)
from pandas.core.accessor import ( # noqa: F401
register_dataframe_accessor,
register_index_accessor,
register_series_accessor,
)
from pandas.core.algorithms import take # noqa: F401
from pandas.core.arrays import ExtensionArray, ExtensionScalarOpsMixin # noqa: F401

View File

@@ -0,0 +1,12 @@
""" public toolkit API """
from pandas._libs.lib import infer_dtype # noqa: F401
from pandas.core.dtypes.api import * # noqa: F403, F401
from pandas.core.dtypes.concat import union_categoricals # noqa: F401
from pandas.core.dtypes.dtypes import ( # noqa: F401
CategoricalDtype,
DatetimeTZDtype,
IntervalDtype,
PeriodDtype,
)