@classmethod
def from_dict(cls, data):
    """
        Construct DataFrame from dict of array-like or dicts.

        Parameters
        ----------
        data : dict
            Of the form {field : array-like} or {field : dict}.

        Returns
        -------
        DataFrame
        """
    return cls(data=data)
