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

Commit e509613

Browse files
authored
Merge branch 'master' into retry_with_backoff
2 parents e043b1e + c086c1e commit e509613

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ matrix:
3131

3232
install:
3333
- pip install tox
34+
- pip install setuptools==20.6.6
3435
- pip install coveralls
3536
- mkdir influxdb_install
3637
- wget https://dl.influxdata.com/influxdb/releases/influxdb_1.2.4_amd64.deb

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

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
nose
22
nose-cov
33
mock
4-
requests-mock
4+
requests-mock

0 commit comments

Comments
 (0)