Skip to content

Commit c3cb2a0

Browse files
GH1063 Remove infer_datetime_format from read_csv and to_datetime
1 parent e5fcd2b commit c3cb2a0

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

pandas-stubs/core/tools/datetimes.pyi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def to_datetime(
4747
format: str | None = ...,
4848
exact: bool = ...,
4949
unit: str | None = ...,
50-
infer_datetime_format: bool = ...,
5150
origin: Literal["julian", "unix"] | TimestampConvertibleTypes = ...,
5251
cache: bool = ...,
5352
) -> Timestamp: ...
@@ -61,7 +60,6 @@ def to_datetime(
6160
format: str | None = ...,
6261
exact: bool = ...,
6362
unit: str | None = ...,
64-
infer_datetime_format: bool = ...,
6563
origin: Literal["julian", "unix"] | TimestampConvertibleTypes = ...,
6664
cache: bool = ...,
6765
) -> Timestamp | NaTType: ...
@@ -75,7 +73,6 @@ def to_datetime(
7573
format: str | None = ...,
7674
exact: bool = ...,
7775
unit: str | None = ...,
78-
infer_datetime_format: bool = ...,
7976
origin: Literal["julian", "unix"] | TimestampConvertibleTypes = ...,
8077
cache: bool = ...,
8178
) -> TimestampSeries: ...
@@ -98,7 +95,6 @@ def to_datetime(
9895
format: str | None = ...,
9996
exact: bool = ...,
10097
unit: str | None = ...,
101-
infer_datetime_format: bool = ...,
10298
origin: Literal["julian", "unix"] | TimestampConvertibleTypes = ...,
10399
cache: bool = ...,
104100
) -> DatetimeIndex: ...

pandas-stubs/io/parsers/readers.pyi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ def read_csv(
7171
| Sequence[Sequence[int]]
7272
| Mapping[str, Sequence[int | str]]
7373
) = ...,
74-
infer_datetime_format: bool = ...,
7574
keep_date_col: bool = ...,
7675
date_format: dict[Hashable, str] | str | None = ...,
7776
dayfirst: bool = ...,
@@ -136,7 +135,6 @@ def read_csv(
136135
| Sequence[Sequence[int]]
137136
| Mapping[str, Sequence[int | str]]
138137
) = ...,
139-
infer_datetime_format: bool = ...,
140138
keep_date_col: bool = ...,
141139
date_format: dict[Hashable, str] | str | None = ...,
142140
dayfirst: bool = ...,
@@ -201,7 +199,6 @@ def read_csv(
201199
| Sequence[Sequence[int]]
202200
| Mapping[str, Sequence[int | str]]
203201
) = ...,
204-
infer_datetime_format: bool = ...,
205202
keep_date_col: bool = ...,
206203
date_format: dict[Hashable, str] | str | None = ...,
207204
dayfirst: bool = ...,

0 commit comments

Comments
 (0)