Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert list to dataset python

import pandas as pd

products_list = ['laptop', 'printer', 'tablet', 'desk', 'chair']

df = pd.DataFrame (products_list, columns = ['product_name'])
print (df)
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #convert #list #dataset #python
ADD COMMENT
Topic
Name
9+3 =