-
-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace btdtri with betaincinv The function scipy.special.btdtri was deprecated in SciPy 1.12, and will be removed in SciPy 1.14. scipy.special.betaincinv should be a drop-in replacement. * Use plain datetime.now() in test datetime.datetime.utcnow() is deprecated because it is too easy of a footgun. Since we don't need timezone-aware objects, now() has the same behaviour (to the difference of the local time difference to UTC). The exact time used (or timezone-equivalent) has no impact on this test, the only requirements is for both calls to have the same timestamp. * Remove concatenation with an empty dataframe Concatenation of empty dataframes causes a FutureWarning in pandas. None values in concatenation are ignored, as long as not all objects to concatenate are None. * Preserve the sparse nature of dataframes In a sparse dataframe, all elements must have a sparse Dtype. Values added after the fact need to be converted.
- Loading branch information
Showing
4 changed files
with
13 additions
and
7 deletions.
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
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