Skip to content

Conversation

huhu-dsy
Copy link

  • contributes to DOC: Replace @appender, @substitution, @doc with inlined docstrings https://github.com/pandas-- dev/pandas/issues/62437
  • [Tests added and passed]if fixing a bug or adding a new feature
  • All [code checks passed]
  • Added [type annotations]to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Comment on lines +878 to +885
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.
Copy link
Member

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

Comment on lines +1148 to +1153
.. versionadded:: 1.3.0
.. versionadded:: 1.4.0
Callable
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
.. versionadded:: 1.3.0
.. versionadded:: 1.4.0
Callable

This section looked odd, but these are old versions so we can remove

Comment on lines +1466 to +1472
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.
Copy link
Member

Choose a reason for hiding this comment

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

Same indentation comment here

Comment on lines +1732 to +1737
.. versionadded:: 1.3.0
.. versionadded:: 1.4.0
Callable
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
.. versionadded:: 1.3.0
.. versionadded:: 1.4.0
Callable



@Appender(
_doc_read_csv_and_table.format(
Copy link
Member

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?

@mroeschke mroeschke added the Docs label Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants