diff --git a/janitor/accessors/data_description.py b/janitor/accessors/data_description.py index 1b254e459..4025b1da6 100644 --- a/janitor/accessors/data_description.py +++ b/janitor/accessors/data_description.py @@ -13,11 +13,14 @@ class DataDescription: """ def __init__(self, data): - """Initialize DataDescription class.""" self._data = data self._desc = {} def _get_data_df(self) -> pd.DataFrame: + """Get a table of descriptive information in a DataFrame format. + + :returns: A DataFrame containing the descriptive information. + """ df = self._data data_dict = {} diff --git a/janitor/functions/utils.py b/janitor/functions/utils.py index db7369ee4..07e6d4ae8 100644 --- a/janitor/functions/utils.py +++ b/janitor/functions/utils.py @@ -1057,14 +1057,6 @@ class col: """ def __init__(self, column: Hashable): - """Initialize a new instance of the `col` class. - - Args: - column (Hashable): The name of the column to be selected. - - Raises: - TypeError: If the `column` parameter is not hashable. - """ self.cols = column check("column", self.cols, [Hashable]) self.join_args = None