Skip to content

Commit c8e3e99

Browse files
committed
Added comments to _dataframe_client. Re-pushing to try and fix travis build.
1 parent c3832a1 commit c8e3e99

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

influxdb/_dataframe_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ def _convert_dataframe_to_lines(self,
230230
raise TypeError('Must be DataFrame with DatetimeIndex or \
231231
PeriodIndex.')
232232

233+
# Create a Series of columns for easier indexing
233234
column_series = pd.Series(dataframe.columns)
234235

235236
if field_columns is None:
@@ -303,6 +304,7 @@ def _stringify_dataframe(self,
303304
numeric_precision,
304305
datatype='field'):
305306

307+
# Find int and string columns for field-type data
306308
int_columns = dataframe.select_dtypes(include=['int']).columns
307309
string_columns = dataframe.select_dtypes(include=['object']).columns
308310

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