pandas常用操作

# -*- coding:utf-8 -*- import numpy as np import pandas as pd rows = 20 cols = [‘A’, ‘B’, ‘C’, ‘D’, ‘E’] data = np.random.random((rows, len(cols))) index = pd.d…