Skip to content

Commit

Permalink
Add support for custom indexes for query in the DataFrameClient (infl…
Browse files Browse the repository at this point in the history
  • Loading branch information
rolincova committed Jun 1, 2020
1 parent de75e73 commit d3fd851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion influxdb/_dataframe_client.py
Expand Up @@ -226,7 +226,7 @@ def _to_dataframe(self, rs, dropna=True, data_frame_index: List[str] = None):
df.set_index('time', inplace=True)
if df.index.tzinfo is None:
df.index = df.index.tz_localize('UTC')
df.index.name = 'time'
df.index.name = None

result[key].append(df)
for key, data in result.items():
Expand Down

0 comments on commit d3fd851

Please sign in to comment.