【Pandas】给DataFrame赋值、增删行或列
1.创建DataFrameimport numpy as npimport pandas as pddates = pd.date_range("20200301", periods=6)df2 = pd.DataFrame(np.arange(24).reshape((6, 4)), index=dates, columns=["A", "B", "C", "D"])print(df...