Pandas reading csv files with partial wildcard

后端 未结 4 1739
天涯浪人
天涯浪人 2021-01-05 13:45

I\'m trying to write a script that imports a file, then does something with the file and outputs the result into another file.

df = pd.read_csv(\'somefile2018.

4条回答
  •  离开以前
    2021-01-05 14:29

    Loop over each file and build a list of DataFrame, then assemble them together using concat.

提交回复
热议问题