Skip to content
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

Pandas 1.5.0 results in warning on export #28

Closed
bbassett-tibco opened this issue Sep 19, 2022 · 0 comments
Closed

Pandas 1.5.0 results in warning on export #28

bbassett-tibco opened this issue Sep 19, 2022 · 0 comments
Assignees

Comments

@bbassett-tibco
Copy link
Collaborator

bbassett-tibco commented Sep 19, 2022

When exporting from Python with (the recently released) Pandas 1.5.0 installed a FutureWarning is emitted:

/path/to/spotfire-python/spotfire/sbdf.py:220: FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead.
  column_types = {str(k): _ValueTypeId.infer_from_dtype(v, f"column '{str(k)}'") for (k, v) in obj.iteritems()}

Fix the implementation of export to not emit warnings in the normal course of business.

For reference, the Pandas change at issue was pandas-dev/pandas#45321.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant