def METHOD_NAME(cls, obj):
    """
    Create partition containing `obj`.
    Parameters
    ----------
    obj : pandas.DataFrame
        DataFrame to be put into the new partition.
    Returns
    -------
    PandasOnPythonDataframePartition
        New ``PandasOnPythonDataframePartition`` object.
    """
    return cls(obj.copy(), len(obj.index), len(obj.columns))