python-connector-api icon indicating copy to clipboard operation
python-connector-api copied to clipboard

Pandas Warning: Slicing positional slice with .loc is not supported, and will raise TypeError in a future version

Open kevinlinxc opened this issue 3 years ago • 0 comments

When using this package I get the following warning: /usr/local/lib/python3.9/site-packages/meteomatics/parsing_util.py:384: 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. df.loc[int(i * split_point): int((i + 1) * split_point), col_name] = coordinate_list[i]

kevinlinxc avatar Dec 14 '22 17:12 kevinlinxc