pyEPR icon indicating copy to clipboard operation
pyEPR copied to clipboard

Empty pandas Series should have `dtype`

Open nikosavola opened this issue 2 years ago • 1 comments

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

nikosavola avatar Apr 28 '22 14:04 nikosavola

Ah yeah that's a good one to fix.

zlatko-minev avatar Apr 28 '22 14:04 zlatko-minev