@@ -48,7 +48,10 @@ def read_csv(
4848 | None = ...,
4949 dtype : DtypeArg | defaultdict | None = ...,
5050 engine : CSVEngine | None = ...,
51- converters : dict [int | str , Callable [[str ], Any ]] | None = ...,
51+ converters : dict [int | str , Callable [[str ], Any ]]
52+ | dict [int , Callable [[str ], Any ]]
53+ | dict [str , Callable [[str ], Any ]]
54+ | None = ...,
5255 true_values : list [str ] = ...,
5356 false_values : list [str ] = ...,
5457 skipinitialspace : bool = ...,
@@ -111,7 +114,10 @@ def read_csv(
111114 | None = ...,
112115 dtype : DtypeArg | defaultdict | None = ...,
113116 engine : CSVEngine | None = ...,
114- converters : dict [int | str , Callable [[str ], Any ]] | None = ...,
117+ converters : dict [int | str , Callable [[str ], Any ]]
118+ | dict [int , Callable [[str ], Any ]]
119+ | dict [str , Callable [[str ], Any ]]
120+ | None = ...,
115121 true_values : list [str ] = ...,
116122 false_values : list [str ] = ...,
117123 skipinitialspace : bool = ...,
@@ -174,7 +180,10 @@ def read_csv(
174180 | None = ...,
175181 dtype : DtypeArg | defaultdict | None = ...,
176182 engine : CSVEngine | None = ...,
177- converters : dict [int | str , Callable [[str ], Any ]] | None = ...,
183+ converters : dict [int | str , Callable [[str ], Any ]]
184+ | dict [int , Callable [[str ], Any ]]
185+ | dict [str , Callable [[str ], Any ]]
186+ | None = ...,
178187 true_values : list [str ] = ...,
179188 false_values : list [str ] = ...,
180189 skipinitialspace : bool = ...,
@@ -237,7 +246,10 @@ def read_table(
237246 | None = ...,
238247 dtype : DtypeArg | defaultdict | None = ...,
239248 engine : CSVEngine | None = ...,
240- converters : dict [int | str , Callable [[str ], Any ]] | None = ...,
249+ converters : dict [int | str , Callable [[str ], Any ]]
250+ | dict [int , Callable [[str ], Any ]]
251+ | dict [str , Callable [[str ], Any ]]
252+ | None = ...,
241253 true_values : list [str ] = ...,
242254 false_values : list [str ] = ...,
243255 skipinitialspace : bool = ...,
@@ -300,7 +312,10 @@ def read_table(
300312 | None = ...,
301313 dtype : DtypeArg | defaultdict | None = ...,
302314 engine : CSVEngine | None = ...,
303- converters : dict [int | str , Callable [[str ], Any ]] | None = ...,
315+ converters : dict [int | str , Callable [[str ], Any ]]
316+ | dict [int , Callable [[str ], Any ]]
317+ | dict [str , Callable [[str ], Any ]]
318+ | None = ...,
304319 true_values : list [str ] = ...,
305320 false_values : list [str ] = ...,
306321 skipinitialspace : bool = ...,
@@ -363,7 +378,10 @@ def read_table(
363378 | None = ...,
364379 dtype : DtypeArg | defaultdict | None = ...,
365380 engine : CSVEngine | None = ...,
366- converters : dict [int | str , Callable [[str ], Any ]] | None = ...,
381+ converters : dict [int | str , Callable [[str ], Any ]]
382+ | dict [int , Callable [[str ], Any ]]
383+ | dict [str , Callable [[str ], Any ]]
384+ | None = ...,
367385 true_values : list [str ] = ...,
368386 false_values : list [str ] = ...,
369387 skipinitialspace : bool = ...,
0 commit comments