Skip to content

Commit 06bb0c6

Browse files
authored
fix: multiple dataframes for tables with different schema (#385)
1 parent 554e8a0 commit 06bb0c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

influxdb_client/client/query_api.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ def query_data_frame(self, query: str, org=None, data_frame_index: List[str] = N
131131
"""
132132
Execute synchronous Flux query and return Pandas DataFrame.
133133
134-
Note that if a query returns more then one table than the client generates a DataFrame for each of them.
134+
Note that if a query returns tables with differing schemas than the client generates
135+
a DataFrame for each of them.
135136
136137
:param query: the Flux query
137138
:param str, Organization org: specifies the organization for executing the query;
@@ -157,7 +158,8 @@ def query_data_frame_stream(self, query: str, org=None, data_frame_index: List[s
157158
"""
158159
Execute synchronous Flux query and return stream of Pandas DataFrame as a Generator['pd.DataFrame'].
159160
160-
Note that if a query returns more then one table than the client generates a DataFrame for each of them.
161+
Note that if a query returns tables with differing schemas than the client generates
162+
a DataFrame for each of them.
161163
162164
:param query: the Flux query
163165
:param str, Organization org: specifies the organization for executing the query;

0 commit comments

Comments
 (0)