+ logger.info("Creating feature dataframe from feature dictionary")
+ self._dataframe = pd.DataFrame.from_dict(self.full_dict,
+ orient='index')
+ logger.info("Filling NaN values in the feature dataframe")
+ #TODO: add other filling methods like linear interpolation
+ self._dataframe = self._dataframe.fillna(method='ffill')
+ self._dataframe = self._dataframe.fillna(method='bfill')
+ self._dataframe = self._dataframe.drop([k.to_pydatetime()
+ for k in self._dataframe.T
+ if k not in self._datetimes])