Read CSV with multiple Headers
问题 I have a simple CSV file that I can't figure out how to pull into a dataframe. test.csv h1 h2 h3 11 12 13 h4 h5 h6 14 15 16 As you can see if the csv above was split into two separate files then reading them into a dataframe would be easy. There is a space between each set of data and they are always the same length. Dataframe I want to create: h1 h2 h3 h4 h5 h6 11 12 13 14 15 16 回答1: Less efficient and clever than CT Zhu's solution but maybe a little simpler: import pandas as pd from