diff --git a/pandas_checks/DataFrameChecks.py b/pandas_checks/DataFrameChecks.py index dcc7a83..695a2ea 100644 --- a/pandas_checks/DataFrameChecks.py +++ b/pandas_checks/DataFrameChecks.py @@ -581,7 +581,7 @@ def assert_type( """Tests whether Dataframe or subset of columns meets type assumption. Optionally raises an exception. Does not modify the DataFrame itself. Args: - type: The required variable type + dtype: The required variable type subset: Optional, which column or columns to check the condition against. ` pass_message: Message to display if the condition passes. fail_message: Message to display if the condition fails. diff --git a/pandas_checks/SeriesChecks.py b/pandas_checks/SeriesChecks.py index cf51904..4d79c44 100644 --- a/pandas_checks/SeriesChecks.py +++ b/pandas_checks/SeriesChecks.py @@ -545,7 +545,7 @@ def assert_type( """Tests whether Series meets type assumption. Optionally raises an exception. Does not modify the Series itself. Args: - type: The required variable type + dtype: The required variable type pass_message: Message to display if the condition passes. fail_message: Message to display if the condition fails.