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

Adapt dataframe concatenation to avoid FutureWarning from Pandas #36

Open
pirmink opened this issue Feb 22, 2024 · 0 comments
Open

Adapt dataframe concatenation to avoid FutureWarning from Pandas #36

pirmink opened this issue Feb 22, 2024 · 0 comments

Comments

@pirmink
Copy link
Collaborator

pirmink commented Feb 22, 2024

  • pytrajplot version: 1.1.2
  • Python version: 3.11

Description

Runtime warning from pandas:
.../miniconda3/envs/pytrajplot_v1.1.2/lib/python3.11/site-packages/pytrajplot/generate_pdf.py:599: FutureWarning: The behavior of array concatenation with empty entries is deprecated. In a future version, this will no longer exclude empty items when determining the result dtype. To retain the old behavior, exclude the empty entries before the concat operation.
trajectory_longitude_expansion = pd.concat(

What I Did

PWD=/users/kaufmann/scratch/lagranto/job/large_area_bug
pytrajplot . . --datatype png --datatype pdf --domain dynamic --domain dynamic_zoom

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