Uncategorized Print Only First Row Pandas / Import pandas as pd #save the dataset in a variable df = pd.dataframe.from_records(rows) # lets see the 5 first rows of the dataset df.head(). Pandas tutorial on selecting rows from a dataframe covers ways to extract data from a dataframe: