Skip to content
프로젝트

소개

Julia 언어용 Excel 파일 읽기 및 쓰기 라이브러리입니다.

기타 프로젝트

이 수치를 측정하는 방법

What you can do

  • 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

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

XLSX.jl

License CI codecov dev stable DOI

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 eachrow and eachtablerow, 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

관련 프로젝트 살펴보기

불러오는 중…