i have multiple CSVs which i need to import into MangoDB. These csv's have a dot in the header which is failing when i insert them into MangoDB. apparently they dont allow dots in the keys. How can i remove the dots? i cannot modify the CSV as the csv's are loaded at runtime
df = pd.read_csv(filepath) #csv file which you want to import
records_ = df.to_dict(orient = 'records')
print(records_)
result = db.matchstats.insert_many(records_ )