spedas / pyspedas

Python-based Space Physics Environment Data Analysis Software
https://pyspedas.readthedocs.io/
MIT License
143 stars 58 forks source link

Deprecated delim_whitespace parameter in pd.read_csv #824

Closed jameswilburlewis closed 2 months ago

jameswilburlewis commented 2 months ago

We have several calls to Pandas read_csv() using the delim_whitespace parameter. This is generating some FutureWarnings in the test logs:

2024-04-13T09:39:56.2875832Z 13-Apr-24 09:39:56: /home/runner/work/pyspedas/pyspedas/pyspedas/geopack/get_w_params.py:54: FutureWarning: The 'delim_whitespace' keyword in pd.read_csv is deprecated and will be removed in a future version. Use ``sep='\s+'`` instead