Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Pandas 1.0 introduces a `_ensure_type` method that asserts the type of `self` must be the same type as the input `obj`. In this lib, the type of `self` is `StockDataFrame` and the type of the object is `DataFrame` which breaks this assert. The temporary fix is to bypass the assert by override the `_ensure_type` method in `StockDataFrame`. The is just a work around. The good news is that the original method doesn't contain any business logic. Other changes: * Update the travis configuration to add CI for python 3.8. * Drop the CI build for 3.4. It's too old and takes too long to run.
- Loading branch information
Showing
4 changed files
with
19 additions
and
3 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