Skip to content

Commit

Permalink
chore: type hint issue
Browse files Browse the repository at this point in the history
* (chore): update return type for `df_type` function
  • Loading branch information
nautics889 committed Sep 10, 2023
1 parent 4ad7296 commit 4cbd0e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandasai/helpers/df_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
DataFrameType = Union[pd.DataFrame, str]


def df_type(df: DataFrameType) -> str:
def df_type(df: DataFrameType) -> Union[str, None]:
"""
Returns the type of the dataframe.
Expand Down

0 comments on commit 4cbd0e1

Please sign in to comment.