How to read the file from the beginning again after reached to the end?
I can use a loop to open and close the same file, but it's not good in performance.
with pd.read_csv("myfile.csv", chunksize=10**6) as reader:
for chunk in reader:
for _, row in chunk.iterrows():
do_something(row)