Skip to content

ENH: make guess_datetime_format public #54727

Closed
@joefutrelle

Description

@joefutrelle

Feature Type

  • Adding new functionality to pandas

  • Changing existing functionality in pandas

  • Removing existing functionality in pandas

Problem Description

Pandas can infer datetime formats when parsing datetimes, but does not provide access to the inferred format via a public API.

Feature Description

Currently, guess_datetime_format is in pandas.core.tools.datetimes which is not public. Exporting it from a non-private module would address the issue.

Alternative Solutions

As far as I can tell, no other Python library provides this requested feature.

Additional Context

As discussed in dateutil/dateutil#1138

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions