Closed alex-l-kong closed 11 months ago
What is the purpose of this PR?
Closes #442. A future pandas version will error out on int to float conversions, so we modify that to suppress the warning.
pandas
int
float
How did you implement your changes
Add the following lines:
panel_new["Start"] = panel_new["Start"].astype(np.float64) panel_new["Stop"] = panel_new["Stop"].astype(np.float64)
prior to adding the offsets.
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
What is the purpose of this PR?
Closes #442. A future
pandas
version will error out onint
tofloat
conversions, so we modify that to suppress the warning.How did you implement your changes
Add the following lines:
prior to adding the offsets.