Answers for "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 stored\File 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

Browse Popular Code Answers by Language