Тёмный

Integrating Excel with Python using xlwings 

Hamid Boustanifar
Подписаться 1,4 тыс.
Просмотров 28 тыс.
50% 1

This video gives you an introduction into how you can go back and forth from Excel and Python using xlwings. The advantage of xlwings is that is we can combine the powers of Excel and Python. Every step that Excel is better, we use Excel. For anything that Python has more flexibility and power, we use Python!

Опубликовано:

 

19 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@keitharaneta3465
@keitharaneta3465 2 месяца назад
one of the best edited and step by step tutorial i have ever seen!
@jcah9619
@jcah9619 2 года назад
Great video! Really appreciate this!!
@eladiomendez8226
@eladiomendez8226 2 месяца назад
Great video thank you !
@yvonplancade725
@yvonplancade725 Год назад
Great thanks. A very very good tuto
@MSavva91
@MSavva91 Год назад
I don't usually leave comments but that was an excellent introduction covering the main essentials, thanks
@arpsami7797
@arpsami7797 2 года назад
Nice Work!
@lucassantamaria3631
@lucassantamaria3631 3 года назад
Xlwings should be taught at school ! Nice video Hamid
@kevintomm8442
@kevintomm8442 3 года назад
Thanks for the video Hamid! Is there a publicly available version of the Jupyter notebook you are using in this video?
@kevintomm8442
@kevintomm8442 3 года назад
@@hamidboustanifar6494 thanks so much
@MattLGreer
@MattLGreer 2 года назад
Is the Jupyter Notebook available somewhere?
@marcoventura9451
@marcoventura9451 7 месяцев назад
Thank You. Is the file TSLA avaiable?
@rodgarana2953
@rodgarana2953 Год назад
how do I delete a row ?
@sidharthgautam8989
@sidharthgautam8989 Год назад
import pandas as pd from openpyxl import load_workbook # Load the Excel file and sheet book = load_workbook('example.xlsx') writer = pd.ExcelWriter('example.xlsx', engine='openpyxl') writer.book = book writer.sheets = {ws.title: ws for ws in book.worksheets} existing_data = pd.read_excel(writer, 'Sheet1') # Append new data to the existing data new_data = pd.DataFrame({'col1': [1, 2, 3], 'col2': [4, 5, 6]}) all_data = pd.concat([existing_data, new_data]) all_data.to_excel(writer, index=False, header=True, sheet_name='Sheet1') # Save the changes writer.save()
@uliseslopezvenegas1572
@uliseslopezvenegas1572 3 года назад
Help, I have the following code: List_of_values ​​= BarcodeData wb = xw.book ('Records.xlsm') ws = wb.sheets ['INCOME'] ws.range ('A3) .value = list_of_values wb.save () I am reading the data from a QR code reader, so when it is read it sends me the data to an excel sheet, but in the part ('A3') I am indicating that in that cell I put the value read. What I want to do is that every time a code is read, I enter it in different cells, that is; The first read in A3, the second read in A4, the third read in A5 and so on, how can I change that line? I already tried with (A3: A10) and from A3 to A10 it gives me the same value.
@screwbaba
@screwbaba 2 года назад
have you found the solution to this? i am facing similar issue, if you have found solution please help. TIA
@Maldive177
@Maldive177 Год назад
To be honest, not too sure what's point of using this Xlwings, like what exactly that Xlwings can do better than VBA?