-
-
Couldn't load subscription status.
- Fork 19.2k
DOC: Replace @appender with inlined docstrings in pandas/io/parsers/readers.py #62713
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
Conversation
pandas/io/parsers/readers.py
Outdated
| Column(s) to use as row label(s), denoted either by column labels or column | ||
| indices. If a sequence of labels or indices is given, | ||
| :class:`~pandas.MultiIndex` | ||
| will be formed for the row labels. | ||
| Note: ``index_col=False`` can be used to force pandas to *not* use the first | ||
| column as the index, e.g., when you have a malformed file with delimiters at | ||
| the end of each line. |
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.
The indentation of this section seems different than the others
pandas/io/parsers/readers.py
Outdated
| .. versionadded:: 1.3.0 | ||
| .. versionadded:: 1.4.0 | ||
| Callable | ||
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.
| .. versionadded:: 1.3.0 | |
| .. versionadded:: 1.4.0 | |
| Callable |
This section looked odd, but these are old versions so we can remove
pandas/io/parsers/readers.py
Outdated
| Column(s) to use as row label(s), denoted either by column labels or column | ||
| indices. If a sequence of labels or indices is given, :class:`~pandas.MultiIndex` | ||
| will be formed for the row labels. | ||
| Note: ``index_col=False`` can be used to force pandas to *not* use the first | ||
| column as the index, e.g., when you have a malformed file with delimiters at | ||
| the end of each line. |
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.
Same indentation comment here
pandas/io/parsers/readers.py
Outdated
| .. versionadded:: 1.3.0 | ||
| .. versionadded:: 1.4.0 | ||
| Callable | ||
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.
| .. versionadded:: 1.3.0 | |
| .. versionadded:: 1.4.0 | |
| Callable |
|
|
||
|
|
||
| @Appender( | ||
| _doc_read_csv_and_table.format( |
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.
If _doc_read_csv_and_table is not used anywhere else, can you remove it?
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.
Sorry, I was delayed last week due to some other things and was unable to give feedback in time. I will make improvements based on your suggestions today.
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.
I think I have already correctly improve my code。 but,it seems that Unit Tests / Pyodide build (pull_request) have some troubles。even if I submit the same code that can successfully submit,it still failed,I can't make it...
|
Thanks @huhu-dsy |
@Appender,@Substitution,@docwith inlined docstrings #62437