Skip to content

DOC: read_excel and read_csv have a new date_format parameter, but the format of this is not documented #54285

Closed
@johnmreynolds

Description

@johnmreynolds

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/dev/reference/api/pandas.read_csv.html
https://pandas.pydata.org/docs/dev/reference/api/pandas.read_excel.html

Documentation problem

In pandas 2.0 various data read functions have a new date_format parameter.

However, the documentation doesn't actually say what the format of this is.

I'm assuming it's supposed to be a strftime format, but it doesn't say.

(And separately, my testing suggests it doesn't work - but that's probably due to #44284 )

Suggested fix for documentation

Specify in the documentation what the format of the date_format parameter is.

Metadata

Metadata

Assignees

Labels

DocsIO CSVread_csv, to_csvIO Excelread_excel, to_excel

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions