Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Converting Dataframe from the multi-dimensional list

# import pandas as pd 

import pandas as pd 
# List1 
list = [['Softhunt.net', 11], ['Learn', 22], ['coding', 33], ['skills', 44]] 
df = pd.DataFrame(list, columns =['key', 'values']) 
print(df)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Converting #Dataframe #list
ADD COMMENT
Topic
Name
2+8 =