cositools / cosipy

The COSI high-level data analysis tools
Apache License 2.0
4 stars 18 forks source link

Data I/O notebook: Pandas Deprecation Warning #138

Closed avalluvan closed 7 months ago

avalluvan commented 7 months ago

In the DataIO_example.ipynb notebook, pd.read_csv function, a specific keyword delim_whitespace is deprecated in the latest version of pandas v2.2.0. The warning recommends to use the keyword sep instead. There are about 6 instances of the former keyword in the notebook (and this warning may also affect other scenarios where a .dat, .txt or .csv file is being read) Screenshot 2024-02-13 223053

avalluvan commented 7 months ago

@code authors, do you think it will help if there is a single issue containing all posts related to warnings (not errors)? Or would you prefer separate issues?

ckarwin commented 7 months ago

Thanks @avalluvan. I will get this updated. I think it's probably best to open separate issues for deprecation warnings.

ckarwin commented 7 months ago

I think this issue has been resolved for the dataIO class. Please open a new issue if this happens somewhere else. Thanks.