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

Published: 09 January 2023
on channel: 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')


On this page of the site you can watch the video online Adding data to excel using python | Как данные сохранить в таблицу | Python в excel with a duration of hours minute second in good quality, which was uploaded by the user Code GeTb 09 January 2023, share the link with friends and acquaintances, this video has already been watched 38 times on youtube and it was liked by 1 viewers. Enjoy your viewing!