def __getitem__(self, item):
if isinstance(item, str) and item in self.__data_columns.colnames:<EOL><INDENT>return self.__data_columns[self.__data_columns.colnames.index(item)]<EOL><DEDENT>raise TypeError("<STR_LIT>" +<EOL>"<STR_LIT>")<EOL>
Getter method for DataFrame. Returns the column with name item.

:param item: the name of a column
:type item: str
:return: returns a column from the DataFrame
:rtype: DataFrameColumn