Skip to content

Deprecate using xlrd engine #29375

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

Closed
wants to merge 11 commits into from
Closed

Deprecate using xlrd engine #29375

wants to merge 11 commits into from

Conversation

cruzzoe
Copy link
Contributor

@cruzzoe cruzzoe commented Nov 2, 2019

@jreback jreback added Deprecate Functionality to remove in pandas IO Excel read_excel, to_excel labels Nov 2, 2019
@WillAyd
Copy link
Member

WillAyd commented Nov 2, 2019

Thanks! Does this also warn if just using read_excel?

@cruzzoe
Copy link
Contributor Author

cruzzoe commented Nov 2, 2019

Thanks! Does this also warn if just using read_excel?

Yes - if you call read_excel there are two cases:

  1. io arg is not an instance of ExcelFile --> ExcelFile is then initialized resulting in Future warning if necessary.
  2. io arg is an instance of ExcelFile --> For this to have happened, the future warning would have already been raised when the io object was initialized.

@pep8speaks
Copy link

pep8speaks commented Nov 3, 2019

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

Line 54:78: W291 trailing whitespace

Comment last updated at 2020-01-26 16:36:12 UTC

@WillAyd
Copy link
Member

WillAyd commented Nov 19, 2019

@cruzzoe can you merge master?

@cruzzoe
Copy link
Contributor Author

cruzzoe commented Nov 22, 2019

@cruzzoe can you merge master?

Sorry- not sure what you mean. This is a merge request of my branch to master. Are you asking me to update my branch off the tip of master?

@WillAyd
Copy link
Member

WillAyd commented Nov 22, 2019

Yep that's it!

@cruzzoe
Copy link
Contributor Author

cruzzoe commented Nov 23, 2019

@WillAyd - done

@WillAyd
Copy link
Member

WillAyd commented Nov 23, 2019

@cruzzoe unfortunately looks like something went awry with merging master - any idea what steps you might have done?

@WillAyd
Copy link
Member

WillAyd commented Nov 23, 2019

I think might have not pulled the latest from upstream before merging. Typically would want to do

git fetch upstream
git merge upstream/master
# fix any merge conflicts
git merge --continue
git push origin YOUR_BRANCH

@cruzzoe
Copy link
Contributor Author

cruzzoe commented Nov 24, 2019

I think might have not pulled the latest from upstream before merging. Typically would want to do

git fetch upstream
git merge upstream/master
# fix any merge conflicts
git merge --continue
git push origin YOUR_BRANCH

I originally did:
git fetch upstream
git rebase upstream/master

When comparing my branch against upstream/master I see only my new changes.

I have reset and redone using merge instead of rebase.

@WillAyd
Copy link
Member

WillAyd commented Nov 29, 2019

@cruzzoe can you filter out this warning in the tests? I think OK to apply at the module level - right now this generates a lot of warnings in the CI logs so want to clean that up

@WillAyd WillAyd mentioned this pull request Dec 11, 2019
@alimcmaster1
Copy link
Member

@cruzzoe you still interested in working on this?

@cruzzoe
Copy link
Contributor Author

cruzzoe commented Dec 23, 2019 via email

@cruzzoe
Copy link
Contributor Author

cruzzoe commented Dec 24, 2019

@cruzzoe can you filter out this warning in the tests? I think OK to apply at the module level - right now this generates a lot of warnings in the CI logs so want to clean that up

Ive implemented what I think is what you are suggesting. Please could you take a look - I believe this will stop warnings in CI now. Also, I looked at CI to confirm my changes are all good, but I see lots of things failing. Are these related to my change?

@WillAyd
Copy link
Member

WillAyd commented Dec 24, 2019

@jreback
Copy link
Contributor

jreback commented Jan 1, 2020

can you merge master; ping when green.

@cruzzoe
Copy link
Contributor Author

cruzzoe commented Jan 20, 2020

can you merge master; ping when green.

all good.

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.

can you add a note to the deprecation section as well

@WillAyd
Copy link
Member

WillAyd commented Feb 12, 2020

Looks like a merge conflict and still some red CI - @cruzzoe can you fix that up?

@WillAyd
Copy link
Member

WillAyd commented Mar 4, 2020

@cruzzoe still active? Can you fix up conflicts and get green?

@cruzzoe
Copy link
Contributor Author

cruzzoe commented Mar 4, 2020 via email

@WillAyd
Copy link
Member

WillAyd commented Apr 1, 2020

@cruzzoe ping on this one again - looks like some merge conflicts to fix

@alimcmaster1
Copy link
Member

@cruzzoe can you merge master and get fix up the test?

@WillAyd
Copy link
Member

WillAyd commented Apr 22, 2020

Nice PR but looks like this has gone stale. @cruzzoe ping if you’d like to pick backup - still very welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas IO Excel read_excel, to_excel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate using xlrd engine in favor of openpyxl
6 participants