-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: fill_value argument for shift #15486 #24128
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
Merged
Changes from 1 commit
Commits
Show all changes
113 commits
Select commit
Hold shift + click to select a range
c3e550c
Merge pull request #3 from pandas-dev/master
ahcub 9ab2d4d
ENH: fill_value argument for shift
ahcub 6b4789d
!U remove the data frame part form the time series
ahcub 57c087e
!U remove the data frame part form the time series
ahcub 1852ea6
!U fix formatting
ahcub 3461271
!U add test for data_frame
ahcub 8b5cedb
!U remove fill_value from tshift
ahcub 27226fa
!U remove unrelevant change
ahcub 29b8a6e
!U add doc for new fill_value argument for shift method
ahcub cf6b2dd
!U add GH number
ahcub 9f9962c
!U add versionated tag
ahcub 4c7b762
!U add fill_value to the group by interface
ahcub b36ca43
!U replace np.nan to None
ahcub a36e7c7
!U replace np.nan to None
ahcub 4c2ec2c
!U add fill_value to the locations where it was missing
ahcub fbf3d73
!U fix series test
ahcub bb722a6
!U fix method name and values comparison for the new test
ahcub 1b1fdc2
!U fix dataframe constructor
ahcub c3f462c
!U change the assert method used for new tests
ahcub e44b514
!U change formatting and doc scripts
ahcub 38f621c
!U add doc strings
ahcub d9d9fdb
!U add check for fill_value present in the categorical categories
ahcub cc6f370
!U change test for frame
8000
div>
ahcub Dec 9, 2018
3619410
!U change test for series shift with fill value to avoid formatting e…
ahcub ca5ba24
!U remove dot
ahcub c195a13
!U remove empty line
ahcub af90a00
!U fix the line lenght
ahcub 2f9b712
!U format the exception message
ahcub bbfe7f9
!U fix indents
ahcub ef55afb
!U fix indents
ahcub ce3d3c7
!U remove whitespaces
ahcub e6103a4
!U remove whitespaces
ahcub d18b6b7
!U fix the line width
ahcub 931df66
!U fix the imports width
ahcub 83f9157
Merge branch 'master' into master
ahcub 81c01bc
!U restore the fill_value
ahcub 4ae4d0b
!U revert imports
ahcub d4d43a3
!U revert new lines deletion
ahcub 1366161
!U revert changes in imports
ahcub 2643aa5
!U revert changes in imports
ahcub c010413
!U revert changes in imports
ahcub 689bf8e
!U revert imports
ahcub 463964b
!U revert imports
ahcub b90b00f
!U revert imports
ahcub 18fab2f
!U revert imports
ahcub cb03215
!U revert imports
ahcub c8242f3
!U revert imports
ahcub 8e946cc
!U revert imports
ahcub 69e47f3
!U revert imports
ahcub 8765bee
!U revert imports
ahcub 9d10a6b
!U remove doc from the doc
ahcub 6f4078a
!U change description
ahcub 4227dda
!U change check for isna instead of is None
ahcub ce721ae
!U remove the -1 implementation detail
ahcub c743004
!U change doc description + added .. versionadded:: 0.24.0 tag
ahcub 03e3bd4
!U add test for sparse array shift with fill_value
ahcub e4313da
!U add test for gorupby
ahcub 85d2b16
!U add PR specification to the test
ahcub da90e89
!U adjust types
ahcub d71be8a
!U fix the groupby test
ahcub aca6c9c
!U add check for fill value in defining the type for result data set
ahcub 20361c7
!U fix the types in the test
ahcub 599ccb7
!U fix the test for groupby shift
ahcub 1ac273a
!U update notation of the base shift method
ahcub b2074a8
!U test categorical shift
ahcub 0fe2f95
!U change the test for categorical
ahcub 7d33f21
!U add check for fill value is not None
ahcub 578859b
!U change n_rows to smaller value
ahcub a016df3
!U select Z column
ahcub 3947394
!U select as DataFrame
ahcub b266a50
!U fix formatting errors
ahcub fa808a4
!U add specification comment
ahcub 71b8df1
!U change test for categorical
ahcub 31a844e
!U add check for different parameters
ahcub 18cbd95
!U move the check to the top
ahcub d068150
!U remove index test
ahcub e665f7d
!U remove the None from the list
ahcub c5a95cb
!U change the sparse ArrayTest
ahcub b03a3fd
change the way for parametrizing a test
ahcub d9efb45
update the doc
ahcub 60595c9
update doc
ahcub 7fc9900
add a test for dtype
ahcub e1a83e2
fix the parametrize arguments
ahcub 7b587c2
!U change the doc formatting
ahcub 7bf6768
!U remove the trailing whitespaces
ahcub 09f0fde
Update pandas/core/generic.py
TomAugspurger 6d65cfa
!U try to remove res_type
ahcub 2162c18
Merge remote-tracking branch 'origin/master'
ahcub 3f9b62b
!U add test for categorical shift with fill value as nan
ahcub 8fa8a15
add different variation of nan
ahcub 988507a
Merge branch 'master' into master
ahcub 6c96108
added base test
TomAugspurger eb48cfe
change the fill_value so the result data set stays int
ahcub a72cffe
add a blank line before the version tag
ahcub 25b4661
add a blank line before the version tag
ahcub d817d0c
Merge remote-tracking branch 'origin/master'
ahcub 0afad10
change the fill_value check for na
ahcub bb67905
parametrize on fill value with decorator instead of the test internals
ahcub f5aad59
change check for is None to isna
ahcub 025f0db
change check for is None to isna
ahcub 8ce460a
change check for is None to isna
ahcub dce5aa1
change check for is None to isna
ahcub d60632a
fix imports sorting
ahcub a0ab35d
fix imports sorting
ahcub fd23842
fix imports sorting
ahcub 3503e86
fix imports sorting
ahcub 674f15d
Add the whatsnew entry
ahcub 3c896ab
change func to meth
ahcub b9d335a
change the description in whatsnew
ahcub 4fcca01
fix typo
ahcub a24f5c8
Add categorical to the description
ahcub a92ddfb
change import of isna in test
ahcub a03cbf5
add backticks for fill_value and add the issue number
ahcub 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
change check for is None to isna
- Loading branch information
commit dce5aa1799e0080d85e4265490a315831ec4f70a
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
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.
blank line here