-
Notifications
You must be signed in to change notification settings - Fork 4
486-binary-excel-connector #841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Requested improvements styling
Unit testsI want to ask to implement unit tests for the following scenarios:
|
lmolotii
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review comments in the review section to address the critical issues related to the connector.
|
@ebhills @thomasstvr Pls review updated binary excel connector |
|
@mborodii-prog - let's discuss why this can not just be handled by the excel connector. Also, it looks like you are adding an old library (xlsb). |
XLSB Connector specification
Overview
Implements dedicated connector for reading Binary Excel (.xlsb) files, providing significantly faster performance and smaller file sizes compared to standard .xlsx format.
Usage Examples
Reading XLSB Files
Using in Recipes
Explicit Connector Parameters
All parameters are explicitly documented and validated:
Read Parameters:
name- Name of the file to import h (required)columns- Subset of the columns to be readnrows- Number of rows to readsheet_name- Name or index of sheet to read. Default 0 (first sheet)header- Row(s) to use as column names. Default 0names- List of column names to useindex_col- Column(s) to use as row labelsdtype- Data type for columnsskiprows- Rows to skip at beginningna_values- Additional strings to recognize as NA/NaNkeep_default_na- Whether to keep default NA valuesna_filter- Detect missing value markersparse_dates- Parse date columnsdate_format- Format to use for parsing datesthousands- Thousands separatordecimal- Decimal separatorcomment- Comment characterskipfooter- Rows to skip at endchunksize- Number of rows to read at a time for large filesmax_memory_mb- Maximum memory usage in MB before switching to chunked modeNotes
Read-only connector (writing .xlsb files not supported by available Python libraries)
Requires pyxlsb>=1.0.10 dependency
Automatically enables chunked mode for large files based on max_memory_mb parameter
Potential Enhancements for XLSB Connector