questdb / py-questdb-client

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

Refresh pandas logic with new Pandas 2.0 #51

Closed amunra closed 6 months ago

amunra commented 11 months 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 9 months ago

ran into this just now, if it helps

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

pandas suggest to use:

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