<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_df(cls, df):
 """Convert a Pandas DataFrame into a Table."""

        t = cls()
        labels = df.columns
        for label in df.columns:
            t.append_column(label, df[label])
        return t