In: Computer Science
How do I select every row in pandas dataframe?
import pandas as pd #import pandas Here
data = [['RJohn',15],['Michale',12],['siri',13]] #create data
df = pd.DataFrame(data,columns=['Name','Age']) #fetch data using
all rows using dataframe name df
df #print data frame
here using column names rows will be fetched