import pandas as pd if __name__ == "__main__": df = pd.read_excel('dataset2.xls', sheet_name="forestfires").to_numpy() for row in df: print(row)