<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_ec_names(ecfile, fasta_names):
 """ convert equivalence classes to their set of transcripts """

    df = pd.read_table(ecfile, header=None, names=["ec", "transcripts"])
    transcript_groups = [x.split(",") for x in df["transcripts"]]
    transcripts = []
    for group in transcript_groups:
        transcripts.append(":".join([fasta_names[int(x)] for x in group]))
    return transcripts