Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create panda DataFrame

import pandas as pd
data = {"Name": ['Phillip', 'Donald', 'Fankhola', 'Mixo', 'Delight', 'Vuyo'],
        "Surname": ['Moyo', 'Phutiane', 'Siphotoma', 'Ngobeni', 'Chauke', 'Shabango'],
       "Age": [25, 23, 24, 24, 23, 23]}

df = pd.DataFrame(data)
df
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #create #panda #DataFrame
ADD COMMENT
Topic
Name
5+9 =