I'm trying to convert a single row DataFrame to a list (without headers) but It's not working as I expect.
import pandas as pd
df = pd.DataFrame({'Price': [1000],
'Area': [520],
'Weight': [20]})
df_list = df.values.tolist()
print(df_list)
[[1000, 520, 20]]
However I was expecting the output to be something like: [1000, 520, 20]
Can you help me spotting the error?