JGCRI / xanthos

An extensible global hydrologic framework
Other
34 stars 16 forks source link

Diagnostics Future Warning #63

Open rubcalvo opened 2 years ago

rubcalvo commented 2 years ago

Hi! I've been using xanthos this past month and the Diagnostics Module print the following future warning:

INFO: ---Start Diagnostics: /home/rcalvo/miniconda3/envs/xanthos/lib/python3.7/site-packages/xanthos/diagnostics/diagnostics.py:130: FutureWarning: Slicing a positional slice with .loc is not supported, and will raise TypeError in a future version. Use .loc with labels or .iloc with positions instead. agg_df.loc[-1, 1:] = agg_df.sum(numeric_only=True)

Just a heads up.

Thanks.