Convert a column to date type

        :param col: column name
        :type col: str
        :param \*\*kwargs: keyword arguments for ``pd.to_datetime`` 
        :type \*\*kwargs: optional

        :example: ``ds.date("mycol")``

def date(self, col: str, **kwargs):
        """
        Convert a column to date type

        :param col: column name
        :type col: str
        :param \*\*kwargs: keyword arguments for ``pd.to_datetime`` 
        :type \*\*kwargs: optional

        :example: ``ds.date("mycol")``
        """
        try:
            self.df[col] = pd.to_datetime(self.df[col], **kwargs)
        except Exception as e:
            self.err(e, "Can not convert to date")