-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
ENH: MultiIndex.from_frame #23141
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
Merged
jreback
merged 52 commits into
pandas-dev:master
from
ArtinASarraf:enhancement/from_frame
Dec 9, 2018
Merged
ENH: MultiIndex.from_frame #23141
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
79bdecb
ENH - add from_frame method and accompanying squeeze method to multii…
fa82618
ENH - guarentee that order of labels is preserved in multiindex to_fr…
64b45d6
CLN - adhere to PEP8 line length
64c7bb1
CLN - remove trailing whitespace
3ee676c
ENH - raise TypeError on inappropriate input
fd266f5
TST - add tests for mi.from_frame and mi.squeeze
4bc8f5b
CLN - pep8 adherence in tests
9d92b70
CLN - last missed pep8 fix
45595ad
BUG - remove pd.DataFrame in favor of local import
ArtinSarraf 3530cd3
DOC - add more detailed docstrings for from_frame and squeeze
1c22791
DOC - update MultiIndex.from_frame and squeeze doctests to comply wit…
cf78780
CLN - cleanup docstrings and source
64c2750
TST - reorganize some of the multiindex tests
ede030b
CLN - adhere to pep8 line length
190c341
BUG - ensure dtypes are preserved in from_frame and to_frame
e0df632
TST - add tests for ensuring dtype fidelity and custom names for from…
78ff5c2
CLN - pep8 adherence
0252db9
DOC - add examples and change order of kwargs for from_frame
d98c8a9
TST - parameterize tests
8a1906e
CLN - pep8 adherence
08c120f
CLN - pep8 adherence
8353c3f
DOC/CLN - add versionadded tags, add to whatsnew page, and clean up i…
9df3c11
CLN - squeeze -> _squeeze
6d4915e
DOC - squeeze -> _squeeze in whatsnew
ArtinSarraf b5df7b2
BUG - allow repeat column names in from_frame, and falsey column name…
ab3259c
DOC - whatsnew formatting
cf95261
TST - reorganize and add tests for more incompatible from_frame types
63051d7
Merge branch 'enhancement/from_frame' of https://github.com/ArtinSarr…
a75a4a5
CLN - remove squeeze tests
8d23df9
CLN - remove squeeze parameter from from_frame
c8d696d
Merge branch 'master' into enhancement/from_frame
7cf82d1
TST - remove callable name option
1a282e5
ENH - from_data initial commit
b3c6a90
DOC - reduce whatsnew entry for to_frame
c760359
CLN/DOC - add examples to from_frame docstring and make code more rea…
bb69314
Merge branch 'master' into enhancement/from_frame
9e11180
TST - use OrderedDict for dataframe construction
96c6af3
Merge branch 'master' into enhancement/from_frame
a5236bf
CLN - clean up code and use pytest.raises
c78f364
Merge branch 'master' into enhancement/from_frame
14bfea8
DOC - move to_frame breaking changes to backwards incompatible sectio…
6960804
Merge branch 'master' into enhancement/from_frame
ArtinSarraf 11c5947
Merge branch 'master' into enhancement/from_frame
904644a
Merge branch 'enhancement/from_frame' of https://github.com/ArtinSarr…
30fe0df
DOC - add advanced.rst section
ec60563
Merge branch 'master' into enhancement/from_frame
8fc6609
Merge branch 'master' into enhancement/from_frame
9b906c6
DOC/CLN - cleanup documentation
e416122
CLN - fix linting error according to pandas-dev.pandas test
4ef9ec4
DOC - fix docstrings
4240a1e
CLN - fix import order with isort
9159b2d
Merge branch 'master' into enhancement/from_frame
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
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.