今回は最初の取り組みとして、PythonスクリプトからMicrosoft Excelファイルを生成するところを説明する。 Visual Studio Code (以降、VSCode)の操作方法を説明に含めると冗長になるので、最初に必要になる操作方法をまとめておく。 操作 メニュー ショートカットキー ...
今回は、請求書の請求データを取り出す部分を実装する。請求書テンプレートでは次のスクリーンショットのように「項目名(説明)」、「単価」、「数」にハメ込むデータを抜き出す処理だ。 請求データをどのように管理しているかは業務によるが、ここで ...
Back in late 2023, Microsoft announced Python integration in Excel. Like many, I was skeptical at first and continued to rely on VBA and built-in Excel formulas for data analyses and visualization.
For this purpose, the pandas library provides the DataFrame method to_excel(). The following instruction creates a worksheet in the Demo1.xlsx workbook with the name Turnover 2nd quarter 2023 and ...