How to read data in Python dataframe without concatenating?
问题 I want to read the file f (file size:85GB) in chunks to a dataframe. Following code is suggested. chunksize = 5 TextFileReader = pd.read_csv(f, chunksize=chunksize) However, this code gives me TextFileReader, not dataframe. Also, I don't want to concatenate these chunks to convert TextFileReader to dataframe because of the memory limit. Please advise. 回答1: As you are trying to process 85GB CSV file, if you will try to read all the data by breaking it into chunks and converting it into