Repository navigation
deps: loosen pandas/plotly specs, fix compat for newer versions - #273
Merged
Merged
Conversation
- pandas: ^2.1 -> >=2.1 (allows future pandas 3.x) - plotly: ^5.0 -> >=5.0 (now allows plotly 6.x/7.x) - Replace deprecated pandas.api.types.is_float_dtype() with np.issubdtype() in vis/bokeh.py and vis/plotly.py - Fix FutureWarning in vis/utils.py: select column before groupby.apply instead of operating on grouping columns
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Loosen upper-bound dependency specs for pandas and plotly to allow newer major versions, and fix compatibility issues.
Changes
^2.1->>=2.1— allows future pandas 3.x (currently blocked by Python 3.10 support requirement)^5.0->>=5.0— now allows plotly 6.x/7.x (both optional and vis group specs)pandas.api.types.is_float_dtype()withnp.issubdtype()(the former is removed in pandas 3.0)FutureWarning— select column beforegroupby.applyinstead of operating on grouping columnsTesting
Notes
fixes #272