Import Excel with multiple sheets into Python

Pubblicato il: 14 marzo 2022
sul canale di: ExplainHowToSimply
2,973
15

This short Python tutorial shows how to simply import an Excel with multiple sheets into python with pd.read_excel(). With an easy example it illustrates two options to import the different Excel sheets.

It is the following command:
Option 1:
df = pd.read_excel('ExcelName.xlsx', sheet_name='Sheet1')

Option 2:
Excel = pd.Excelfile('ExcelName.xlsx')
df = pd.read_excel(Excel, 'Sheet1')


In questa pagina del sito puoi guardare il video online Import Excel with multiple sheets into Python della durata di ore minuti seconda in buona qualità , che l'utente ha caricato ExplainHowToSimply 14 marzo 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,973 volte e gli è piaciuto 15 spettatori. Buona visione!