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

small warning in epic_read #14

Open
andreaa93 opened this issue Nov 15, 2024 · 0 comments
Open

small warning in epic_read #14

andreaa93 opened this issue Nov 15, 2024 · 0 comments
Assignees

Comments

@andreaa93
Copy link
Member

andreaa93 commented Nov 15, 2024

got this warning, maybe the deprecated stuff should be removed

/home/andrea/Crucial/NOMAD/nomad-FAIR/.pyenv/lib/python3.10/site-packages/epic_scraper/epicfileimport/epic_module.py:310: 
FutureWarning: Series.__getitem__ treating keys as positions is deprecated. 
In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). 
To access a value by position, use `ser.iloc[pos]`
  str(df['object'].value_counts()[0])

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

2 participants