Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Basic method of Converting List to Dataframe

# import pandas as pd 

import pandas as pd 
# list of strings 
list = ['Softhunt.net', 'Learn', 'coding', 'skills']
# Calling DataFrame constructor on list 
df = pd.DataFrame(list) 
print(df)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Basic #method #Converting #List #Dataframe
ADD COMMENT
Topic
Name
3+9 =