-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: fix Panel.fillna() ignoring axis parameter #8395
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
Closed
Closed
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
b6692a2
BUG: setitem fails on mixed-type Panel4D
stahlous 6082542
added note to whatsnew
stahlous a2de1df
BUG: fix panel fillna ignoring axis parameter
stahlous 76998e9
added/fixed tests and re-ordered _is_mixed_type check
stahlous 158d11b
fill axis defaults to stat axis
stahlous 9b1b9c2
implement inplace; simplify a bit
stahlous 194eb87
changed ffill and bfill default axis to None
stahlous 78d484e
fixed inplace implementation
stahlous 384d896
added in @staple's tests
stahlous d55883f
return explicitly for inplace
stahlous a527cba
trying Panel.apply
stahlous 507f665
more apply work
stahlous 142ee9c
merge in new tests
stahlous 3e1272e
simplify return
stahlous 1fab8a4
update tests with issue num and spacing before comments
stahlous 6f02fa5
added Panel4D.fillna suport and tests
stahlous 58d450b
added updates to v0.15.0.txt and updated fillna docstring
stahlous fa3f34b
more straightforward fillna method
stahlous 9548076
fix panel4d tests
stahlous 40a757c
remove 'convert_numeric=True'
stahlous b1ecb43
implement inplace in memory efficient way
stahlous a147061
invoke convert_objects with copy=False
stahlous adb9379
implement categorical preservation
stahlous 36d0dd8
rework categories implementation
stahlous 3eef736
minor cleanup
stahlous cfab77e
another way of going about it
stahlous 6e7d60d
Merge branch 'p4d_setitem_bug' into fillna_bug
stahlous a670571
more fixing
stahlous 4cb00c5
Merge branch 'p4d_setitem_bug' into fillna_bug
stahlous 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
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
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.
don't change arguments orders
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.
I didn't change the order in the function signature. I just noticed the docstring was not ordered the same way as the signature, so I made them consistent. I can change them back.
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.
no you are right. this is fine