Answers for "list as pd.dataframe"

8

dataframe to list

df.values.tolist()
Posted by: Guest on April-18-2020
1

list of dataframe to dataframe

import pandas as pd
df = pd.concat(list_of_dataframes)
# easy way
Posted by: Guest on October-01-2021

Python Answers by Framework

Browse Popular Code Answers by Language