def clear_all(instance):
    "\n        Resets ListData object's dataset variable to its empty state.\n\n        Returns:\n            ListData object\n\n        Examples:\n            >>> my_listdata = ListData()\n            >>> my_listdata.append_row([1,2,3]).dataset\n            [[1, 2, 3]]\n            >>> my_listdata.dataset\n            [[1, 2, 3]]\n            >>> my_listdata.clear_all().dataset\n            []\n            >>> my_listdata.dataset\n            []\n        "
    instance.dataset = []
    return instance
Resets ListData object's dataset variable to its empty state.

Returns:
    ListData object

Examples:
    >>> my_listdata = ListData()
    >>> my_listdata.append_row([1,2,3]).dataset
    [[1, 2, 3]]
    >>> my_listdata.dataset
    [[1, 2, 3]]
    >>> my_listdata.clear_all().dataset
    []
    >>> my_listdata.dataset
    []
def clear_all(instance):
    "\n        Resets ListData object's dataset variable to its empty state.\n\n        Returns:\n            ListData object\n\n        Examples:\n            >>> my_listdata = ListData()\n            >>> my_listdata.append_row([1,2,3]).dataset\n            [[1, 2, 3]]\n            >>> my_listdata.dataset\n            [[1, 2, 3]]\n            >>> my_listdata.clear_all().dataset\n            []\n            >>> my_listdata.dataset\n            []\n        "
    instance.dataset = []
    return instance