Skip to content

Commit

Permalink
Fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed May 30, 2024
1 parent aa8f06f commit 9b73b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audformat/core/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def to_audformat_dtype(dtype: typing.Union[str, typing.Type]) -> str:
return define.DataType.OBJECT


def to_pandas_dtype(dtype: str) -> str:
def to_pandas_dtype(dtype: str) -> typing.Optional[str]:
r"""Convert audformat to pandas dtype.
We use ``"Int64"`` instead of ``"int64"``,
Expand Down

0 comments on commit 9b73b8d

Please sign in to comment.