@classmethod
def from_csv(cls, connection, path, casout=None, **kwargs):
    """
        Create a CASTable from a CSV file

        Parameters
        ----------
        connection : :class:`CAS`
            The CAS connection to read the data into.
        path : string or file-like object
            The path, URL, or file-like object to get the data from.
        casout : string or :class:`CASTable`, optional
            The output table specification.  This includes the following parameters.
                name : string, optional
                    Name of the output CAS table.
                caslib : string, optional
                    CASLib for the output CAS table.
                label : string, optional
                    The label to apply to the output CAS table.
                promote : boolean, optional
                    If True, the output CAS table will be visible in all sessions.
                replace : boolean, optional
                    If True, the output CAS table will replace any existing CAS.
                    table with the same name.
        **kwargs : keyword arguments
            Keyword arguments to pass to :func:`pandas.read_csv`.

        See Also
        --------
        :meth:`CAS.read_csv`
        :func:`pandas.read_csv`

        Returns
        -------
        :class:`CASTable`

        """
    kwargs = kwargs.copy()
    kwargs.setdefault('index_col', 0)
    kwargs.setdefault('parse_dates', True)
    return connection.read_csv(path, casout=casout, **kwargs)
