It would be nice to be able to modify the featuredata or metadata using it's attribute.
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-48-3e99f8310ea1> in <module>()
----> 1 df.featuredata = df.featredata[previous_features]
/home/scott/.local/lib/python3.5/site-packages/pandas/core/generic.py in __getattr__(self, name)
2670 if name in self._info_axis:
2671 return self[name]
-> 2672 return object.__getattribute__(self, name)
2673
2674 def __setattr__(self, name, value):
AttributeError: 'DataFrame' object has no attribute 'featredata'
In [49]: df.featuredata = df.featuredata[previous_features]
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/home/scott/.local/lib/python3.5/site-packages/pandas/core/generic.py in __setattr__(self, name, value)
2702 else:
-> 2703 object.__setattr__(self, name, value)
2704 except (AttributeError, TypeError):
AttributeError: can't set attribute
During handling of the above exception, another exception occurred:
AttributeError Traceback (most recent call last)
<ipython-input-49-1c984f1ae98a> in <module>()
----> 1 df.featuredata = df.featuredata[previous_features]
/home/scott/.local/lib/python3.5/site-packages/pandas/core/generic.py in __setattr__(self, name, value)
2703 object.__setattr__(self, name, value)
2704 except (AttributeError, TypeError):
-> 2705 object.__setattr__(self, name, value)
2706
2707 # ----------------------------------------------------------------------
AttributeError: can't set attribute