Skip to content

Please document expected behavior when default arguments are used. #32664

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
steve-the-bayesian opened this issue Mar 12, 2020 · 3 comments · Fixed by #32977
Closed

Please document expected behavior when default arguments are used. #32664

steve-the-bayesian opened this issue Mar 12, 2020 · 3 comments · Fixed by #32977
Labels

Comments

@steve-the-bayesian
Copy link

This is a documentation request.

The docs for read_csv currently include the following:

index_col:
int, str, sequence of int / str, or False, default None
Column(s) to use as the row labels of the DataFrame, either given as string name or column index. If a sequence of int / str is given, a MultiIndex is used.

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.

Problem description

The docs explain how read_csv works in every case EXCEPT the default, which is the most common. Please document what happens when index_col=None is passed.

@TomAugspurger
Copy link
Contributor

Can you submit a PR improving the documentation?

@steve-the-bayesian
Copy link
Author

steve-the-bayesian commented Mar 14, 2020 via email

@steve-the-bayesian
Copy link
Author

steve-the-bayesian commented Mar 14, 2020 via email

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 a pull request may close this issue.

3 participants