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

Commit d3fd851

Browse files
committed
Add support for custom indexes for query in the DataFrameClient (#785)
1 parent de75e73 commit d3fd851

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
@@ -226,7 +226,7 @@ def _to_dataframe(self, rs, dropna=True, data_frame_index: List[str] = None):
226226
df.set_index('time', inplace=True)
227227
if df.index.tzinfo is None:
228228
df.index = df.index.tz_localize('UTC')
229-
df.index.name = 'time'
229+
df.index.name = None
230230

231231
result[key].append(df)
232232
for key, data in result.items():

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy