lama/common.py
def csv_to_pandas(path):
    """
    Pandas cannot open csv files that have locks on them. For example if they are currently opened by LibreOffice
    This is a workaround

    Parameters
    ----------
    path: str
        path to csv

    Returns
    -------
    pandas.Dataframe

    Not yet finished

    """
    import pandas as pd
    with open(path, 'r') as fh:
        try:
            df = pd.read_csv(fh)
        except:
            pass

    Pandas cannot open csv files that have locks on them. For example if they are currently opened by LibreOffice
    This is a workaround

    Parameters
    ----------
    path: str
        path to csv

    Returns
    -------
    pandas.Dataframe

    Not yet finished

    
Pandas cannot open csv files that have locks on them. For example if they are currently opened by LibreOffice
This is a workaround

Parameters

str
path to csv

Returns



Not yet finished
Pandas cannot open csv files that have locks on them . For example if they are currently opened by LibreOffice This is a workaround Parameters str path to csv Returns Not yet finished
def csv_to_pandas(path):
    import pandas as pd
    with open(path, 'r') as fh:
        try:
            df = pd.read_csv(fh)
        except:
            pass
def csv_to_pandas ( path ) : import pandas as pd with open ( path , 'r' ) as fh : try : df = pd . read_csv ( fh ) except : pass
Pandas cannot open csv files that have locks on them.
Pandas cannot open csv files that have locks on them .
"""
    Pandas cannot open csv files that have locks on them. For example if they are currently opened by LibreOffice
    This is a workaround

    Parameters
    ----------
    path: str
        path to csv

    Returns
    -------
    pandas.Dataframe

    Not yet finished

    """
path