Frame column_names¶
-
column_names
¶ Column identifications in the current frame.
Parameters: Returns: : list
list of names of all the frame’s columns
Given a Frame object, my_frame accessing a frame. To get the column names:
>>> my_columns = my_frame.column_names >>> print my_columns
Now, given there are three columns col1, col2, and col3, the result is:
["col1", "col2", "col3"]