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

Empty pandas Series should have dtype #107

Closed
nikosavola opened this issue Apr 28, 2022 · 1 comment · Fixed by #139
Closed

Empty pandas Series should have dtype #107

nikosavola opened this issue Apr 28, 2022 · 1 comment · Fixed by #139
Labels
good first issue Good issues to get started with for newcomers

Comments

@nikosavola
Copy link
Contributor

Currently, I get

FutureWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version. Specify a dtype explicitly to silence this warning.
Ljs = pd.Series({})

many times from core_distributed_analysis.py when running simply do_EPR_analysis().

The fix is to explicitly write the correct dtype to all the Series in the code

@zlatko-minev
Copy link
Owner

Ah yeah that's a good one to fix.

@zlatko-minev zlatko-minev added the good first issue Good issues to get started with for newcomers label Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good issues to get started with for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants