Conversation
…taReader
Adds a new lightweight package Deedle.Excel.Reader that reads Excel
files (.xlsx and .xls) into Deedle frames without requiring Excel to
be installed. Built on the MIT-licensed ExcelDataReader library.
## New package: src/Deedle.Excel.Reader/
| File | Purpose |
|---|---|
| ExcelReader.fs | All public API |
| Deedle.Excel.Reader.fsproj | Project file (targets net9.0) |
| paket.references | Declares ExcelDataReader dependency |
## Public API
// Read first sheet (first row = headers)
Deedle.ExcelReader.readExcel : string -> Frame<int, string>
// Read sheet by name
Deedle.ExcelReader.readExcelSheet : string -> string -> Frame<int, string>
// Read sheet by zero-based index
Deedle.ExcelReader.readExcelSheetByIndex : string -> int -> Frame<int, string>
// List all sheet names
Deedle.ExcelReader.sheetNames : string -> string list
## Tests: tests/Deedle.Excel.Reader.Tests/
13 tests covering:
- Row / column count
- Column names (headers)
- String, integer and float values
- sheetNames utility
- Named sheet access
- Indexed sheet access
- Error handling (unknown name, out-of-range index)
- Missing values (empty cells become OptionalValue.Missing)
## New dependency
ExcelDataReader 3.8 + ExcelDataReader.DataSet 3.8 (MIT, ExcelDataReader project).
No new transitive dependencies beyond System.*.
## Test status
Passed! - Failed: 0, Passed: 13, Skipped: 0, Total: 13 (Deedle.Excel.Reader.Tests)
Passed! - Failed: 0, Passed: 685, Skipped: 0, Total: 685 (Deedle.Tests – no regressions)
Closes #429
Co-authored-by: Copilot <[email protected]>
dsyme
approved these changes
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 This PR was created by Repo Assist in response to issue #429.
Summary
This PR adds a new lightweight
Deedle.Excel.Readerpackage that reads Excel files (.xlsxand.xls) into Deedle frames cross-platform without requiring Microsoft Excel to be installed. It is built on top of the MIT-licensed ExcelDataReader library.The existing
Deedle.Excelpackage (COM/NetOffice) continues to exist for interactive write-to-live-Excel workflows; this new package complements it for file-based reading.What's included
src/Deedle.Excel.Reader/ExcelReader.fsDeedle.Excel.Reader.fsprojnet9.0)paket.referencesExcelDataReader+ExcelDataReader.DataSetdependencytests/Deedle.Excel.Reader.Tests/13 tests covering:
sheetNamesutilityOptionalValue.Missing)Public API
Closes #429