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

BUG : Add Deprecation FutureWarning for parse function call #51331

Closed
wants to merge 3 commits into from

Conversation

pacificdragon
Copy link

@pacificdragon pacificdragon changed the title Add Deprecation FutureWarning for parse function call BUG : Add Deprecation FutureWarning for parse function call Feb 12, 2023
@pacificdragon
Copy link
Author

pacificdragon commented Feb 12, 2023

@rhshadrach Can you please help me with this Doc string validation error?

Error: /home/runner/work/pandas/pandas/pandas/io/excel/_base.py:1530:GL09:pandas.ExcelFile.parse:Deprecation warning should precede extended summary

Where should I put the deprecation message in the Doc string?

@rhshadrach
Copy link
Member

I think the linter is thinking you are deprecating the method; even though it's somewhat of a false positive, it does seem better to have the deprecation warning above the extended summary, i.e. 4 lines above where it is now.

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.

BUG: xl.parse index_col ignoring skiprows
2 participants