def test_flatten_frame(self): x = flatten(name="test", ts=self.assets.stack()) self.assertAlmostEqual(x["test.A.20130625"], 1277.650, places=5)
def test_flatten(self): x = flatten(name="test", ts=self.assets["A"]) self.assertAlmostEqual(x["test.20130625"], 1277.650, places=5)