I have a folder which contains multiple (over 50) .txt files which all have the same structure (same columns, but different lengths sometimes).
Is there a way to read these files using pd.read_csv() and save each file as a variable, say res1 = file1, res2 = file2 etc? I need to use python pandas to read the files.
I don't know if this is a good practice, but I'd like to avoid loading each file separately.