Answers for "how to read an excel file"

1

How to read excel file in Python

import pandas as pd

df = pd.read_excel (r'Path where the Excel file is storedFile name.xlsx')
print (df)
Posted by: Guest on May-16-2021
0

read an excel file

In [7]: titanic = pd.read_excel("titanic.xlsx", sheet_name="passengers")
Posted by: Guest on June-30-2021

Python Answers by Framework

Browse Popular Code Answers by Language