questdb / py-questdb-client

Python client for QuestDB InfluxDB Line Protocol
https://py-questdb-client.readthedocs.io
Apache License 2.0
55 stars 10 forks source link

Refresh pandas logic with new Pandas 2.0 #51

Closed amunra closed 8 months ago

amunra commented 1 year ago

The current code still works, but creates a few warnings with the latest pandas releases. This is because it's causing functions that are deprecated.

Roh-codeur commented 11 months ago

ran into this just now, if it helps

Series.__getitem__ treating keys as positions is deprecated
Misery42 commented 11 months ago

pandas suggest to use:

df.loc[index, <cloumn_name>] df.loc[index, <cloumn_index>]