You can read a particular column from excel file in Python with the following code. I highly recommend you This book to learn Python.
Read specific column from excel file
# Import the Pandas libraray as pd import pandas as pd # Read Excel file data = pd.read_excel('house_price.xlsx', usecols=["Price"]) # Display the Data print(data)
Output:
Price 0 75000 1 65000 2 60000 3 58000 4 50000 5 90000 6 85000 7 80000 8 95000