Loading Excel spreadsheet as pandas DataFrame
Pandas is a very powerful and scalable tool for data analysis. It supports multiple file format as we might get the data in any format. Pandas also have support for excel file format.
We first need to import Pandas and load excel file, and then parse excel file sheets as a Pandas dataframe.
One can also read specific columns using ‘
usecols‘ parameter of
Name Percentage 0 Ankit 95 1 Rahul 90 2 Shaurya 85 3 Aishwarya 80 4 Priyanka 75
For more examples, refer https://www.geeksforgeeks.org/creating-a-dataframe-using-excel-files/