DataFrame untuk daftar
df.values.tolist()
Fierce Fly
df.values.tolist()
# import pandas as pd
import pandas as pd
# list of strings
lst = ['Geeks', 'For', 'Geeks', 'is',
'portal', 'for', 'Geeks']
# Calling DataFrame constructor on list
df = pd.DataFrame(lst)
df
L = ['Thanks You', 'Its fine no problem', 'Are you sure']
#create new df
df = pd.DataFrame({'col':L})
print (df)
col
0 Thanks You
1 Its fine no problem
2 Are you sure
import pandas as pd
df = pd.concat(list_of_dataframes)
# easy way
col_one_list = df['one'].tolist()
col_one_arr = df['one'].to_numpy()