for xrange (0, self.inputs[i]): #or for xrange i in self.inputs[i]:
(pd.DataFrame(self.inputs[i]).fillna(method='ffill',inplace=True)).fillna(method='bfill',inplace=True)
"""then would like to update self.inputs[i] with the new data ? """