Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

save list to dataframe pandas

import pandas as pd
list_name = ['item_1', 'item_2', 'item_3',...]
df = pd.DataFrame (list_name, columns = ['column_name'])
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #save #list #dataframe #pandas
ADD COMMENT
Topic
Name
3+6 =