|
@@ -314,10 +314,10 @@ class MongodbHandler:
|
|
|
'''
|
|
|
frames = []
|
|
|
records = []
|
|
|
- for index, value in enumerate(data):
|
|
|
+ for iteration, value in enumerate(data):
|
|
|
|
|
|
records.append(value)
|
|
|
- if index % chunksize == 0:
|
|
|
+ if iteration % chunksize == 0:
|
|
|
frames.append(pd.DataFrame(records))
|
|
|
records = []
|
|
|
|