Skip to main content

is_pd_object

Check if an object is a pd.DataFrame or pd.Series. Parameters: Raises: Returns:

is_pd_dataframe

Check if an object is a pd.DataFrame. Parameters: Raises:

is_valid_shape

Validate the shape of two objects and align them if necessary. Parameters: Raises: Returns:

is_valid_squarred_shape

Check if a covariance matrix is square and aligned with weights. Parameters: Raises:

is_fitted

Decorator to check if an object is fitted. Parameters: Raises: Returns:

is_freq_valid

Check if the frequency of a pd.Index is valid. Parameters: Raises: Returns:

is_int

Check if an argument is an int (excluding timedelta). Parameters: Returns:

is_float

Check if an argument is a float. Parameters: Returns:

is_number

Check if an argument is a number. Parameters: Returns: