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

query_time_series() returns naive datetime object for sunrise:sql and sunset:sql

Open make-ing opened this issue 1 year ago • 0 comments

If I query the API with the api.query_time_series() function and the parameters sunrise:sql and sunset:sql i get back a dataframe with the columns having a naive (without timezone) datetime64 pandas data type. Is this intentional?

Since the documentation states that it returns a ISO-8601 formatted string with timezone shouldn't the pandas data type be timezone aware?

make-ing avatar Apr 09 '24 14:04 make-ing