Skip to content

ERR: better error message on too large excel sheet #26080

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

Merged
merged 17 commits into from
Jun 1, 2019

Conversation

anordin95
Copy link

@pep8speaks
Copy link

pep8speaks commented Apr 14, 2019

Hello @anordin95! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2019-06-01 12:43:43 UTC

@codecov
Copy link

codecov bot commented Apr 14, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@190a69e). Click here to learn what that means.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #26080   +/-   ##
=========================================
  Coverage          ?   40.75%           
=========================================
  Files             ?      175           
  Lines             ?    52449           
  Branches          ?        0           
=========================================
  Hits              ?    21373           
  Misses            ?    31076           
  Partials          ?        0
Flag Coverage Δ
#single 40.75% <0%> (?)
Impacted Files Coverage Δ
pandas/core/generic.py 37.75% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 190a69e...c5f9db9. Read the comment docs.

@codecov
Copy link

codecov bot commented Apr 14, 2019

Codecov Report

Merging #26080 into master will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26080      +/-   ##
==========================================
+ Coverage   91.76%   91.83%   +0.07%     
==========================================
  Files         174      174              
  Lines       50625    50649      +24     
==========================================
+ Hits        46458    46516      +58     
+ Misses       4167     4133      -34
Flag Coverage Δ
#multiple 90.37% <100%> (+0.07%) ⬆️
#single 41.69% <40%> (-0.08%) ⬇️
Impacted Files Coverage Δ
pandas/io/formats/excel.py 97.44% <100%> (+0.04%) ⬆️
pandas/io/gbq.py 78.94% <0%> (-10.53%) ⬇️
pandas/core/frame.py 97% <0%> (-0.12%) ⬇️
pandas/core/groupby/groupby.py 97.17% <0%> (-0.06%) ⬇️
pandas/core/indexes/multi.py 95.62% <0%> (ø) ⬆️
pandas/core/sparse/scipy_sparse.py 100% <0%> (ø) ⬆️
pandas/core/groupby/__init__.py 100% <0%> (ø) ⬆️
pandas/core/arrays/categorical.py 95.91% <0%> (ø) ⬆️
pandas/core/indexes/base.py 96.71% <0%> (ø) ⬆️
pandas/core/series.py 93.61% <0%> (ø) ⬆️
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19f693f...66f4602. Read the comment docs.

@anordin95 anordin95 closed this Apr 14, 2019
@anordin95 anordin95 reopened this Apr 14, 2019
@gfyoung gfyoung added Error Reporting Incorrect or improved errors from pandas IO Excel read_excel, to_excel labels Apr 14, 2019
@jreback jreback changed the title BUG resolving issue 26051 and adding a unit test. ERR: better error message on too large excel sheet Apr 28, 2019
Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like CI is just failing with lint errors so be sure to give them a look.

As far as my environment is concerned I'm just using the environment.yaml file that comes with this repo; if you are having a lot of trouble maybe try deleting what you have and rebuild from that

@jreback
Copy link
Contributor

jreback commented May 12, 2019

pls merge master and update to comments

@anordin95
Copy link
Author

any suggestions on how to deal with the memoryerror?

@TomAugspurger
Copy link
Contributor

TomAugspurger commented May 13, 2019 via email

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great - I think last commit looks very nice. Can you add a whatsnew note for v0.25?

Alex Nordin and others added 2 commits May 14, 2019 15:06
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor comments, needs a whatsnew as @WillAyd mentioned; ping on green.

@anordin95
Copy link
Author

how do i go about adding a whatsnew note?

@WillAyd
Copy link
Member

WillAyd commented May 19, 2019

@anordin95 look in doc/source/whatsnew/v0.25.0.rst

@jreback
Copy link
Contributor

jreback commented May 19, 2019

you have a lint error as well

./pandas/tests/io/test_excel.py(1220,9): error E265: block comment should start with '# '
Bash exited with code '1'.

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fix up merge conflict and address suggestion on wording?

@anordin95
Copy link
Author

I pulled master, then rebased onto my branch and have just pushed that, however the rebase had no errors. What's the suggested method to resolve conflicts?

@jreback jreback added this to the 0.25.0 milestone May 26, 2019
@jreback
Copy link
Contributor

jreback commented May 26, 2019

looks good, can you merge master as there is a conflict; ping on green.

@anordin95
Copy link
Author

Thank you for all your help :)

@simonjayhawkins
Copy link
Member

not sure about the test failure, it looks unrelated to your changes.

@simonjayhawkins
Copy link
Member

@anordin95 : the CI failures are fixed. can you merge master.

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small doc comment, if you'd merge master and ping on green.

@anordin95
Copy link
Author

image

I've addressed the requested changes. Could someone provide guidance on how to merge? It appears, I don't have the privilege.

@WillAyd
Copy link
Member

WillAyd commented Jun 1, 2019

One of the maintainers can merge when the CI finishes. Ping when all green

@jreback jreback merged commit 7f3423c into pandas-dev:master Jun 1, 2019
@jreback
Copy link
Contributor

jreback commented Jun 1, 2019

thanks @anordin95

vaibhavhrt pushed a commit to vaibhavhrt/pandas that referenced this pull request Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Reporting Incorrect or improved errors from pandas IO Excel read_excel, to_excel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

to_excel cannot handle large sheet
7 participants