taking code recommendations from @sdiehl PR notes... as always :)

This commit is contained in:
fawce
2012-03-16 11:47:06 -04:00
parent 77993ee6ca
commit 65253737cd
2 changed files with 14 additions and 9 deletions
-3
View File
@@ -86,9 +86,6 @@ class namedict(object):
def has_attr(self, name):
return self.__dict__.has_key(name)
def __getitem__(self, key):
return self.__dict__[key]
def as_series(self):
s = pandas.Series(self.__dict__)