瀏覽代碼

Trying to speed up convert mongo into dataframe

ogert 4 年之前
父節點
當前提交
abe4223c99
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cdplib/db_handlers/MongodbHandler.py

+ 1 - 1
cdplib/db_handlers/MongodbHandler.py

@@ -288,7 +288,7 @@ class MongodbHandler:
 
         return self.convert_mongo_data_into_dataframe(data, index, collection_name)
 
-    def convert_mongo_data_into_dataframe(self, data, index: str = None, collection_name: str = None, chunksize: int = 5000) -> pd.DataFrame():
+    def convert_mongo_data_into_dataframe(self, data, index: str = None, collection_name: str = None, chunksize: int = 500) -> pd.DataFrame():
 
         start_time = time.time()
         '''