I have a function (function_from_xml_pddataframe) that takes xml files from data folder and transform to pandas dataframe called df_xml.
After this I need to create only one pandas dataframe (all_dfs) by merging them all by row.
This is what I did so far with a for loop:
import os
all_dfs = pd.DataFrame()
for file in tqdm("/data"):
if file.endswith(".xml"):
function_from_xml_pddataframe(xmlfile)
df_created = df_xml