DOC: Added doc-string to get_data().

This commit is contained in:
Thomas Wiecki
2012-11-19 10:23:22 -05:00
parent 4c02fea6e2
commit f2ce713b99
+9 -8
View File
@@ -417,14 +417,15 @@ class BatchTransform(EventWindow):
self.updated = False
def get_data(self):
# Create a pandas.Panel (i.e. 3d DataFrame) from the
# events in the current window.
#
# The resulting panel looks like this:
# index : field_name (e.g. price)
# major axis/rows : dt
# minor axis/colums : sid
#
"""Create a pandas.Panel (i.e. 3d DataFrame) from the
events in the current window.
Returns:
The resulting panel looks like this:
index : field_name (e.g. price)
major axis/rows : dt
minor axis/colums : sid
"""
# This Panel data structure ultimately gets passed to the
# user-overloaded get_value() method.
#