is_hierarchical

is_hierarchical(y)[source]

Check to see if y is in a hierarchical dataframe.

Hierarchical is defined as a pd.DataFrame having 3 or more indices.

Parameters:
yAny object
Returns:
bool

True if y is a pd.DataFrame with three or more indices.