Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Commit6c45f30

Browse files
committed
Add support for custom indexes for query in the DataFrameClient (#785)
1 parent64aeddd commit6c45f30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎influxdb/influxdb08/client.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,10 @@ def write_points(self, data, time_precision='s', *args, **kwargs):
292292
:type batch_size: int
293293
294294
"""
295-
deflist_chunks(l,n):
295+
deflist_chunks(data_list,n):
296296
"""Yield successive n-sized chunks from l."""
297-
foriinxrange(0,len(l),n):
298-
yieldl[i:i+n]
297+
foriinxrange(0,len(data_list),n):
298+
yielddata_list[i:i+n]
299299

300300
batch_size=kwargs.get('batch_size')
301301
ifbatch_sizeandbatch_size>0:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp