File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
from __future__ import annotations
2
2
3
- from typing import TYPE_CHECKING
3
+ from typing import (
4
+ TYPE_CHECKING ,
5
+ Any ,
6
+ )
4
7
5
8
from pandas ._libs import lib
6
9
from pandas .compat ._optional import import_optional_dependency
@@ -24,7 +27,7 @@ def read_spss(
24
27
usecols : Sequence [str ] | None = None ,
25
28
convert_categoricals : bool = True ,
26
29
dtype_backend : DtypeBackend | lib .NoDefault = lib .no_default ,
27
- ** kwargs : dict ,
30
+ ** kwargs : dict [ str , Any ] ,
28
31
) -> DataFrame :
29
32
"""
30
33
Load an SPSS file from the file path, returning a DataFrame.
@@ -47,8 +50,9 @@ def read_spss(
47
50
DataFrame.
48
51
49
52
.. versionadded:: 2.0
50
- kwargs : dict, optional
53
+ ** kwargs : dict, optional
51
54
Additional keyword arguments passed to :func:`pyreadstat.read_sav`.
55
+ .. versionadded:: 3.0
52
56
53
57
Returns
54
58
-------
You can’t perform that action at this time.
0 commit comments