Skip to content

Commit 3dd505e

Browse files
committed
Adding pandas.io and adding missing pandas core imports
1 parent 9c1ae38 commit 3dd505e

File tree

1 file changed

+24
-16
lines changed

1 file changed

+24
-16
lines changed

pandas/__init__.py

+24-16
Original file line numberDiff line numberDiff line change
@@ -42,37 +42,45 @@
4242
# let init-time option registration happen
4343
import pandas.core.config_init
4444

45-
4645
from pandas.core.api import (
47-
DataFrame, Series, array, Panel, Int64Index, Interval,
48-
IntervalIndex, Float64Index, Index, DatetimeIndex, Int64Index,
49-
MultiIndex, PeriodIndex, RangeIndex, TimedeltaIndex,
50-
CategoricalIndex, Categorical, to_datetime, to_timedelta,
51-
to_numeric, Timedelta, Timestamp, NaT, Period, isna,
52-
CategoricalDtype, PeriodDtype, DatetimeTZDtype, IntervalDtype,
53-
DateOffset, factorize, unique, value_counts, interval_range,
54-
Grouper)
46+
Int8Dtype, Int16Dtype, Int32Dtype, Int64Dtype, UInt8Dtype,
47+
UInt16Dtype, UInt32Dtype, UInt64Dtype, factorize, unique,
48+
value_counts, isna, isnull, notna, notnull, CategoricalDtype,
49+
PeriodDtype, IntervalDtype, DatetimeTZDtype, Categorical,
50+
array, Grouper, set_eng_float_format, Index, CategoricalIndex,
51+
Int64Index, UInt64Index, RangeIndex, Float64Index, MultiIndex,
52+
IntervalIndex, TimedeltaIndex, DatetimeIndex, PeriodIndex,
53+
NaT, Period, period_range, Timedelta, timedelta_range,
54+
Timestamp, date_range, bdate_range, Interval, interval_range,
55+
Series, DataFrame, Panel, IndexSlice, to_numeric, DateOffset,
56+
to_datetime, to_timedelta, np)
57+
58+
from pandas.core.sparse.api import (
59+
SparseArray, SparseDataFrame, SparseSeries, SparseDtype)
5560

5661
from pandas.tseries.api import infer_freq
5762
from pandas.tseries import offsets
5863

64+
from pandas.core.computation.api import eval
65+
5966
from pandas.core.reshape.api import (
6067
concat, lreshape, melt, wide_to_long, merge, merge_asof,
6168
merge_ordered, crosstab, pivot, pivot_table, get_dummies,
6269
cut, qcut)
6370

64-
from pandas.core.computation.api import eval
71+
from pandas.util._print_versions import show_versions
6572

66-
from pandas.core.sparse.api import (
67-
SparseArray, SparseDataFrame, SparseSeries, SparseDtype)
73+
from pandas.io.api import (
74+
read_clipboard, ExcelFile, ExcelWriter, read_excel,
75+
read_feather, read_gbq, read_html, read_json,
76+
read_msgpack, to_msgpack, read_parquet, read_csv,
77+
read_fwf, read_table, read_pickle, to_pickle,
78+
HDFStore, read_hdf, read_sas, read_sql, read_sql_query,
79+
read_sql_table, read_stata)
6880

69-
from pandas.core.internals import BlockManager, _safe_reshape, make_block
7081
from pandas.core.arrays import DatetimeArray, IntervalArray, PeriodArray
7182
from pandas.core.arrays.sparse import BlockIndex, IntIndex
7283

73-
from pandas._libs import join
74-
75-
from pandas.util._print_versions import show_versions
7684
from pandas.util._tester import test
7785
import pandas.testing
7886
import pandas.arrays

0 commit comments

Comments
 (0)