“Lesen Sie die Excel -Datei Spyder” Code-Antworten

So lesen Sie die Excel -Datei im Jupyter -Notebook

import pandas as pd

df = pd.read_excel (r'Path where the Excel file is stored\File name.xlsx', sheet_name='your Excel sheet name')
print (df)
Smoggy Seal

Lesen Sie die Excel -Datei Spyder

import pandas as pd

df = pd.read_excel (r'C:\Users\Ron\Desktop\Product List.xlsx') #place "r" before the path string to address special character, such as '\'. Don't forget to put the file name at the end of the path + '.xlsx'
print (df)
Bad Barracuda

Ähnliche Antworten wie “Lesen Sie die Excel -Datei Spyder”

Fragen ähnlich wie “Lesen Sie die Excel -Datei Spyder”

Weitere verwandte Antworten zu “Lesen Sie die Excel -Datei Spyder” auf Python

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen