Adding data to excel using python | Как данные сохранить в таблицу | Python в excel

Publié le: 09 janvier 2023
sur la chaîne: Code GeTb
38
1

Working with excel in python. How to create a table? How to save data to a table in Python? How to write to an Excel file in Python?

Install Libraries : pip install pandas openpyxl xlsxwriter xlrd

Code from the video
import pandas as pd
df = pd.DataFrame({
"Full name" : ['Jack Jones', 'Odri Odrinovich', 'Kate Russel'],
"Department" : ['Economics', 'Maths', 'Geography'],
"Budget" : [200, 100, 500]
})

df.to_excel('data.xlsx')


Sur cette page du site, vous pouvez voir la vidéo en ligne Adding data to excel using python | Как данные сохранить в таблицу | Python в excel durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code GeTb 09 janvier 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 38 fois et il a aimé 1 téléspectateurs. Bon visionnage!