1,datafram和array的相互转换dataframe转化成arraydf=df.values
array转化成dataframe
import pandas as pd
df = pd.DataFrame(df)