-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TYP: Replace wildcardimports in toplevelinit as precursor for reshape,stata,io PRs #25936 #25940 #25939 #26019
Merged
jreback
merged 11 commits into
pandas-dev:master
from
ryankarlos:Replace_wildcardimports_in_toplevelinit_as_precursor_for_reshape,stata,io_PRs_#25936_#25940_#25939
Apr 10, 2019
Merged
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
54482fa
Add explicit imports for stata in top level pandas init
ryankarlos 4721051
Replace wildcard imports with explicit objects
ryankarlos 70f3718
Fix pep8 issue
ryankarlos ed50a1a
Add dataframe and series imports
ryankarlos 9c1ae38
Importing from api with objects listed
ryankarlos 7aa943b
Adding pandas.io and adding missing pandas core imports
ryankarlos e50469d
Merge branch 'master' of https://github.com/pandas-dev/pandas into Re…
ryankarlos 2b3afa5
Sorting imports into catgeories and importing pandas.compat.numpy obj…
ryankarlos b4052a2
Fix pep8
ryankarlos e21eb72
importing additional objects pandas.compat.numpy
ryankarlos f519a03
Fix test failures
ryankarlos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Adding pandas.io and adding missing pandas core imports
- Loading branch information
commit 7aa943b41a8e036c5a10b2638481de6342fcce40
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,37 +42,42 @@ | |
# let init-time option registration happen | ||
import pandas.core.config_init | ||
|
||
|
||
from pandas.core.api import ( | ||
DataFrame, Series, array, Panel, Int64Index, Interval, | ||
IntervalIndex, Float64Index, Index, DatetimeIndex, Int64Index, | ||
MultiIndex, PeriodIndex, RangeIndex, TimedeltaIndex, | ||
CategoricalIndex, Categorical, to_datetime, to_timedelta, | ||
to_numeric, Timedelta, Timestamp, NaT, Period, isna, | ||
CategoricalDtype, PeriodDtype, DatetimeTZDtype, IntervalDtype, | ||
DateOffset, factorize, unique, value_counts, interval_range, | ||
Grouper) | ||
Int8Dtype, Int16Dtype, Int32Dtype, Int64Dtype, UInt8Dtype, | ||
UInt16Dtype, UInt32Dtype, UInt64Dtype, factorize, unique, | ||
value_counts, isna, isnull, notna, notnull, CategoricalDtype, | ||
PeriodDtype, IntervalDtype, DatetimeTZDtype, Categorical, | ||
array, Grouper, set_eng_float_format, Index, CategoricalIndex, | ||
Int64Index, UInt64Index, RangeIndex, Float64Index, MultiIndex, | ||
IntervalIndex, TimedeltaIndex, DatetimeIndex, PeriodIndex, | ||
NaT, Period, period_range, Timedelta, timedelta_range, | ||
Timestamp, date_range, bdate_range, Interval, interval_range, | ||
Series, DataFrame, Panel, IndexSlice, to_numeric, DateOffset, | ||
to_datetime, to_timedelta, np, TimeGrouper) | ||
|
||
from pandas.core.sparse.api import ( | ||
SparseArray, SparseDataFrame, SparseSeries, SparseDtype) | ||
|
||
from pandas.tseries.api import infer_freq | ||
from pandas.tseries import offsets | ||
|
||
from pandas.core.computation.api import eval | ||
|
||
from pandas.core.reshape.api import ( | ||
concat, lreshape, melt, wide_to_long, merge, merge_asof, | ||
merge_ordered, crosstab, pivot, pivot_table, get_dummies, | ||
cut, qcut) | ||
|
||
from pandas.core.computation.api import eval | ||
|
||
from pandas.core.sparse.api import ( | ||
SparseArray, SparseDataFrame, SparseSeries, SparseDtype) | ||
|
||
from pandas.core.internals import BlockManager, _safe_reshape, make_block | ||
from pandas.core.arrays import DatetimeArray, IntervalArray, PeriodArray | ||
from pandas.core.arrays.sparse import BlockIndex, IntIndex | ||
from pandas.util._print_versions import show_versions | ||
|
||
from pandas._libs import join | ||
from pandas.io.api import ( | ||
read_clipboard, ExcelFile, ExcelWriter, read_excel, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can you sort these |
||
read_feather, read_gbq, read_html, read_json, | ||
read_msgpack, to_msgpack, read_parquet, read_csv, | ||
read_fwf, read_table, read_pickle, to_pickle, | ||
HDFStore, read_hdf, read_sas, read_sql, read_sql_query, | ||
read_sql_table, read_stata) | ||
|
||
from pandas.util._print_versions import show_versions | ||
from pandas.util._tester import test | ||
import pandas.testing | ||
import pandas.arrays | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you organize these by section, e.g. something like