Skip to content
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

Excel Reader: Read values, not formulae #4299

Merged
merged 1 commit into from
Dec 26, 2019

Conversation

janezd
Copy link
Contributor

@janezd janezd commented Dec 25, 2019

Issue

Solves #2974, the remaining issue noted by @PrimozGodec: if an Excel file contains formulae, after #4279 they are loaded as formulae, not values.

Description of changes

Add a data_only argument when opening the workbook (https://openpyxl.readthedocs.io/en/stable/api/openpyxl.reader.excel.html#openpyxl.reader.excel.load_workbook).

Includes
  • Code changes

@codecov
Copy link

codecov bot commented Dec 25, 2019

Codecov Report

Merging #4299 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4299      +/-   ##
==========================================
- Coverage   86.69%   86.68%   -0.01%     
==========================================
  Files         396      396              
  Lines       71561    71561              
==========================================
- Hits        62039    62036       -3     
- Misses       9522     9525       +3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants