Added file to execute the complete cleaning pipeline
This commit is contained in:
9
Scripts/Libs/Utils/dataframe_interaction.py
Normal file
9
Scripts/Libs/Utils/dataframe_interaction.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import pandas as pd
|
||||
|
||||
|
||||
|
||||
def get_raw_from_dataframe(DF: pd.DataFrame) -> str:
|
||||
output = ''
|
||||
for row in DF.itertuples(index=False, name=None):
|
||||
output += "".join(map(str, row))
|
||||
return output
|
||||
Reference in New Issue
Block a user