Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit 3cfc9b8

Browse files
authored
Bugfix time conversion in padas
1 parent bbe80ed commit 3cfc9b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

influxdb/_dataframe_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def _to_dataframe(self, rs, dropna=True, data_frame_index=None):
219219
else:
220220
key = (name, tuple(sorted(tags.items())))
221221
df = pd.DataFrame(data)
222-
df.time = pd.to_datetime(df.time)
222+
df.time = pd.to_datetime(df.time, format="mixed")
223223

224224
if data_frame_index:
225225
df.set_index(data_frame_index, inplace=True)

0 commit comments

Comments
 (0)