ogert vor 4 Jahren
Ursprung
Commit
e8a93f8936

+ 1 - 0
cdplib/db_handlers/MongodbHandler.py

@@ -19,6 +19,7 @@ import pymongo
 from pymongo import MongoClient
 import pandas as pd
 import numpy as np
+from pprint import pprint
 
 sys.path.append(os.getcwd())
 from cdplib.log import Log

+ 0 - 1
cdplib/db_migration/DataFrameToCollection.py

@@ -86,7 +86,6 @@ class DataFrameToCollection():
                 continue
 
             if field in already_reshaped:
-                print(self._log.green,'Adding ',field, "to reshaped fields",self._log.reset)
                 reshaped_field = data.groupby(grp_fields, sort=False)[field]\
                                                 .apply(self._make_flattened_list_of_distinct)
                 reshaped_fields.append(reshaped_field)