Skip to content

Commit d544fae

Browse files
authored
Merge branch 'master' into master
2 parents 9590a4d + d671822 commit d544fae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

influxdb/_dataframe_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def write_points(self,
8686

8787
if protocol == 'line':
8888
points = self._convert_dataframe_to_lines(
89-
dataframe.ix[start_index:end_index].copy(),
89+
dataframe.iloc[start_index:end_index].copy(),
9090
measurement=measurement,
9191
global_tags=tags,
9292
time_precision=time_precision,
@@ -95,7 +95,7 @@ def write_points(self,
9595
numeric_precision=numeric_precision)
9696
else:
9797
points = self._convert_dataframe_to_json(
98-
dataframe.ix[start_index:end_index].copy(),
98+
dataframe.iloc[start_index:end_index].copy(),
9999
measurement=measurement,
100100
tags=tags,
101101
time_precision=time_precision,

influxdb/influxdb08/dataframe_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def write_points(self, data, *args, **kwargs):
5959
self._convert_dataframe_to_json(
6060
name=key,
6161
dataframe=data_frame
62-
.ix[start_index:end_index].copy(),
62+
.iloc[start_index:end_index].copy(),
6363
time_precision=time_precision)]
6464
InfluxDBClient.write_points(self, outdata, *args, **kwargs)
6565
return True

0 commit comments

Comments
 (0)