def subset(self, *args):
cols = {}<EOL>for k in self.colnames:<EOL><INDENT>if k in args:<EOL><INDENT>cols[str(k)] =self.__data_columns[self.colnames.index(k)].values<EOL><DEDENT><DEDENT>return DataFrame(**cols)<EOL>
Subset only some of the columns of the DataFrame.

:param args: list of column names of the object that should be subsetted
:type args: tuple
:return: returns dataframe with only the columns you selected
:rtype: DataFrame