-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: .rolling() returns incorrect values when ts index is not nano se…
…conds (#55173) * Fix rolling microseconds for sum * - adding a test for rounding sum * Update pandas/tests/window/test_rolling.py Co-authored-by: Joris Van den Bossche <[email protected]> * Update test_rolling.py the df variable name fixed in the test * Reverted version varialbe in doc/source/conf.py * Units generalised to us/ms/s and test parameterised * Rolling max tests added, related to #55026 * whatsnew note for 2.1.2 added * Update doc/source/whatsnew/v2.1.2.rst Co-authored-by: Matthew Roeschke <[email protected]> * UTC timezone for _index_array of rolling * Validating tz-aware data Data conversion removed Tests merged * Conversion replaced by Timedelta.as_unit * fixes for failing tests * update whatsnew * type checking --------- Co-authored-by: Joris Van den Bossche <[email protected]> Co-authored-by: Matthew Roeschke <[email protected]>
- Loading branch information
1 parent
074ab2f
commit fe17818
Showing
3 changed files
with
42 additions
and
1 deletion.
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
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
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