Skip to content

Commit 64b7c5f

Browse files
GH1317 PR feedback
1 parent ec8c20f commit 64b7c5f

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

pandas-stubs/io/parsers/readers.pyi

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ def read_csv(
6161
na_values: Sequence[str] | Mapping[str, Sequence[str]] | None = None,
6262
keep_default_na: bool = True,
6363
na_filter: bool = True,
64-
verbose: bool = ...,
6564
skip_blank_lines: bool = True,
6665
parse_dates: (
6766
bool
@@ -92,8 +91,7 @@ def read_csv(
9291
on_bad_lines: (
9392
Literal["error", "warn", "skip"] | Callable[[list[str]], list[str] | None]
9493
) = "error",
95-
delim_whitespace: bool = ...,
96-
low_memory: bool = ...,
94+
low_memory: bool = True,
9795
memory_map: bool = False,
9896
float_precision: Literal["high", "legacy", "round_trip"] | None = None,
9997
storage_options: StorageOptions | None = None,
@@ -126,7 +124,6 @@ def read_csv(
126124
na_values: Sequence[str] | Mapping[str, Sequence[str]] | None = None,
127125
keep_default_na: bool = True,
128126
na_filter: bool = True,
129-
verbose: bool = ...,
130127
skip_blank_lines: bool = True,
131128
parse_dates: (
132129
bool
@@ -157,8 +154,7 @@ def read_csv(
157154
on_bad_lines: (
158155
Literal["error", "warn", "skip"] | Callable[[list[str]], list[str] | None]
159156
) = "error",
160-
delim_whitespace: bool = ...,
161-
low_memory: bool = ...,
157+
low_memory: bool = True,
162158
memory_map: bool = False,
163159
float_precision: Literal["high", "legacy", "round_trip"] | None = None,
164160
storage_options: StorageOptions | None = None,
@@ -191,7 +187,6 @@ def read_csv(
191187
na_values: Sequence[str] | Mapping[str, Sequence[str]] | None = ...,
192188
keep_default_na: bool = ...,
193189
na_filter: bool = ...,
194-
verbose: bool = ...,
195190
skip_blank_lines: bool = ...,
196191
parse_dates: (
197192
bool
@@ -222,8 +217,7 @@ def read_csv(
222217
on_bad_lines: (
223218
Literal["error", "warn", "skip"] | Callable[[list[str]], list[str] | None]
224219
) = ...,
225-
delim_whitespace: bool = ...,
226-
low_memory: bool = ...,
220+
low_memory: bool = True,
227221
memory_map: bool = ...,
228222
float_precision: Literal["high", "legacy", "round_trip"] | None = ...,
229223
storage_options: StorageOptions | None = ...,
@@ -293,6 +287,7 @@ def read_table(
293287
memory_map: bool = False,
294288
float_precision: Literal["high", "legacy", "round_trip"] | None = None,
295289
storage_options: StorageOptions | None = None,
290+
dtype_backend: DtypeBackend | _NoDefaultDoNotUse = ...,
296291
) -> TextFileReader: ...
297292
@overload
298293
def read_table(
@@ -358,6 +353,7 @@ def read_table(
358353
memory_map: bool = False,
359354
float_precision: Literal["high", "legacy", "round_trip"] | None = None,
360355
storage_options: StorageOptions | None = None,
356+
dtype_backend: DtypeBackend | _NoDefaultDoNotUse = ...,
361357
) -> TextFileReader: ...
362358
@overload
363359
def read_table(
@@ -423,6 +419,7 @@ def read_table(
423419
memory_map: bool = False,
424420
float_precision: Literal["high", "legacy", "round_trip"] | None = None,
425421
storage_options: StorageOptions | None = None,
422+
dtype_backend: DtypeBackend | _NoDefaultDoNotUse = ...,
426423
) -> DataFrame: ...
427424
@overload
428425
def read_fwf(

0 commit comments

Comments
 (0)