scripts/bulk_status_change.py
def colfile_to_list(filename):
    """
    Read a file containing a column of IDs from SQL output into a dataframe and then convert to a list
    :param filename: Name of file containing list of SQL IDs in a column
    :param path_prefix: Path to the location of filename
    :return: Dataframe containing the IDs
    """
    cols = pd.read_csv(filename, sep='\t', header=None)[0].tolist()       # Convert a the column of IDs into a list ([0] needed to index the column)
    return(cols)

    Read a file containing a column of IDs from SQL output into a dataframe and then convert to a list
    :param filename: Name of file containing list of SQL IDs in a column
    :param path_prefix: Path to the location of filename
    :return: Dataframe containing the IDs
    
Read a file containing a column of IDs from SQL output into a dataframe and then convert to a list
Read a file containing a column of IDs from SQL output into a dataframe and then convert to a list
def colfile_to_list(filename):
    cols = pd.read_csv(filename, sep='\t', header=None)[0].tolist()       
    return(cols)
def colfile_to_list ( filename ) : cols = pd . read_csv ( filename , sep = '\t' , header = None ) [ 0 ] . tolist ( ) return ( cols )
Read a file containing a column of IDs from SQL output into a dataframe and then convert to a list
Read a file containing a column of IDs from SQL output into a dataframe and then convert to a list
"""
    Read a file containing a column of IDs from SQL output into a dataframe and then convert to a list
    :param filename: Name of file containing list of SQL IDs in a column
    :param path_prefix: Path to the location of filename
    :return: Dataframe containing the IDs
    """ # Convert a the column of IDs into a list ([0] needed to index the column)
Dataframe containing the IDs
Dataframe containing the IDs
filename
Name of file containing list of SQL IDs in a column
Name of file containing list of SQL IDs in a column
path_prefix
Path to the location of filename
Path to the location of filename