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 dataframe iteritems is deprecated #614

Closed
erykoff opened this issue Jan 5, 2023 · 0 comments · Fixed by #615
Closed

pandas dataframe iteritems is deprecated #614

erykoff opened this issue Jan 5, 2023 · 0 comments · Fixed by #615
Assignees

Comments

@erykoff
Copy link
Contributor

erykoff commented Jan 5, 2023

Using gcrcatalogs with the latest rubin-env=5.1.0 gives deprecation warnings from

return {col: arr.values for col, arr in df.iteritems()}
, specifically:

/opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-5.1.0/lib/python3.10/site-packages/GCRCatalogs/parquet.py:15: FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead.
  return {col: arr.values for col, arr in df.iteritems()}
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

Successfully merging a pull request may close this issue.

2 participants