Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how can you make a data fram

import pandas as pd.
# assign data of lists.
data = {'Name': ['Tom', 'Joseph', 'Krish', 'John'], 'Age': [20, 21, 19, 18]}
# Create DataFrame.
df = pd.DataFrame(data)
# Print the output.
print(df)
 
PREVIOUS NEXT
Tagged: #data #fram
ADD COMMENT
Topic
Name
7+9 =