@classmethod<EOL><INDENT>def from_df(cls, df):<DEDENT>
t = cls()<EOL>labels = df.columns<EOL>for label in df.columns:<EOL><INDENT>t.append_column(label, df[label])<EOL><DEDENT>return t<EOL>
Convert a Pandas DataFrame into a Table.