# HG changeset patch # User Frederic Bastien # Date 1210106088 14400 # Node ID 8c0a1b11b0079ce59bd37c24f473e25b84539837 # Parent e1a004b21daa2dcb8fe032f1e5c2f01cce375f6e bugfix, we keep all the line, but only a some columns diff -r e1a004b21daa -r 8c0a1b11b007 dataset.py --- a/dataset.py Tue May 06 16:12:37 2008 -0400 +++ b/dataset.py Tue May 06 16:34:48 2008 -0400 @@ -977,7 +977,7 @@ # else check for a fieldname if self.hasFields(key): - return self.data[self.fields_columns[key],:] + return self.data[:,self.fields_columns[key]] # else we are trying to access a property of the dataset assert key in self.__dict__ # else it means we are trying to access a non-existing property return self.__dict__[key]