Skip to content

Commit 61e298a

Browse files
committed
Updates based on PR comments
1 parent f043010 commit 61e298a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pandas/io/spss.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
from __future__ import annotations
22

3-
from typing import TYPE_CHECKING
3+
from typing import (
4+
TYPE_CHECKING,
5+
Any,
6+
)
47

58
from pandas._libs import lib
69
from pandas.compat._optional import import_optional_dependency
@@ -24,7 +27,7 @@ def read_spss(
2427
usecols: Sequence[str] | None = None,
2528
convert_categoricals: bool = True,
2629
dtype_backend: DtypeBackend | lib.NoDefault = lib.no_default,
27-
**kwargs: dict,
30+
**kwargs: dict[str, Any],
2831
) -> DataFrame:
2932
"""
3033
Load an SPSS file from the file path, returning a DataFrame.
@@ -47,8 +50,9 @@ def read_spss(
4750
DataFrame.
4851
4952
.. versionadded:: 2.0
50-
kwargs : dict, optional
53+
**kwargs : dict, optional
5154
Additional keyword arguments passed to :func:`pyreadstat.read_sav`.
55+
.. versionadded:: 3.0
5256
5357
Returns
5458
-------

0 commit comments

Comments
 (0)