pandas uses the read_csv function to read csv data, the index_col parameter specifies the data column index list as the row index to form a composite (multi-layer) row index, and the index.get_level_values attribute views the index content of the specified level in the row index of the dataset (use the index position or name)
Table of contents