the Internet looking for half a day not dataframe into transformation dataframe array is an array, so here to summary the mutual conversion of python generation is as follows: p>
- dataframe into array strong>
li> ul>df=df.values
- array span> into the dataframe span> strong> li> ul>
import pandas as pd df = pd.DataFrame(df)
and that’s OK!
- array span> into the dataframe span> strong> li> ul>