概要
Julia言語向けのExcelファイル読み書きライブラリです。
その他のプロジェクトできること
- Read and write cell values, ranges and whole tables through the Tables.jl interface, so data goes straight to and from a DataFrame
- Stream the rows of large files with eachrow and eachtablerow, without loading the whole sheet
- Cell formatting (fonts, fills, borders, alignment, number formats) and conditional formats
- Formulas and defined names
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルXLSX.jl
Excel file reader/writer for the Julia language.
Introduction
XLSX.jl is a Julia package to read and write Excel spreadsheet files.
Internally, an Excel XLSX file is just a Zip file with a set of XML files inside. The formats for these XML files are described in the Standard ECMA-376.
This package follows ECMA-376 to parse and generate XLSX files.
Requirements
Julia v1.10 (LTS) or more recent
Linux, macOS or Windows.
Installation
From a Julia session, run:
julia> using Pkg
julia> Pkg.add("XLSX")
Features
- Read and write cell values, ranges and whole tables through the
Tables.jl interface, so data goes straight to and from a
DataFrame - Stream the rows of large files with
eachrowandeachtablerow, without loading the whole sheet - Cell formatting (fonts, fills, borders, alignment, number formats) and conditional formats
- Formulas and defined names
- Insert and delete rows and columns, with formulas and everything else that refers to them updated
- Data validation, including drop-down lists
- AutoFilter buttons on plain ranges
- Sheet visibility (hidden and very hidden), tab colours, sheet protection and page setup for printing
- Native Excel Tables
- Merged cells, column widths, row heights, hidden and grouped rows and columns, and freeze/split panes
- Hyperlinks, images and cell comments
- Native Excel charts: read, format and create (experimental)
- FileIO.jl integration
See the documentation for guides and the full API.
Quick Start
using XLSX, DataFrames
df = DataFrame(name = ["a", "b", "c"], value = [1.5, 2.5, 3.5])
XLSX.writetable("data.xlsx", df; sheetname = "Data", overwrite = true)
df2 = DataFrame(XLSX.readtable("data.xlsx", "Data"))
XLSX.openxlsx("data.xlsx", mode = "rw") do xf
sheet = xf["Data"]
sheet["C1"] = "Total"
XLSX.setFormula(sheet, "C2", "=SUM(B2:B4)")
XLSX.setFont(sheet, "C1"; bold = true)
end
Source Code
The source code for this package is hosted at https://github.com/juliadata/XLSX.jl.
License
The source code for the package XLSX.jl is licensed under the MIT License.
Getting Help
If you're having any trouble, have any questions about this package or want to ask for a new feature, just open a new issue.
Contributing
Contributions are always welcome!
To contribute, fork the project on GitHub and send a Pull Request.
References
Alternative Packages
関連プロジェクトを探す
読み込み中…