Answers for "different way to with pandas"

0

Different ways to create Pandas Dataframe

# Import pandas library
import pandas as pd
 
# initialize list of lists
data = [['tom', 10], ['nick', 15], ['juli', 14]]
 
# Create the pandas DataFrame
df = pd.DataFrame(data, columns = ['Name', 'Age'])
 
# print dataframe.
df
Posted by: Guest on August-11-2021

Code answers related to "different way to with pandas"

Python Answers by Framework

Browse Popular Code Answers by Language