“Baca Excel File Spyder” Kode Jawaban

cara membaca file excel di 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

Baca Excel File 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

Jawaban yang mirip dengan “Baca Excel File Spyder”

Pertanyaan yang mirip dengan “Baca Excel File Spyder”

Lebih banyak jawaban terkait untuk “Baca Excel File Spyder” di Python

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya