From a257a43e99a1856d6fd4776ea690b58c75a85855 Mon Sep 17 00:00:00 2001 From: Thomas Wiecki Date: Fri, 2 Jan 2015 13:42:27 +0100 Subject: [PATCH] DOC: Fix DataFrame and Panel sources doc strings. --- zipline/sources/data_frame_source.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/zipline/sources/data_frame_source.py b/zipline/sources/data_frame_source.py index e574bd3d..4dfa225a 100644 --- a/zipline/sources/data_frame_source.py +++ b/zipline/sources/data_frame_source.py @@ -1,6 +1,5 @@ - # -# Copyright 2013 Quantopian, Inc. +# Copyright 2014 Quantopian, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -26,11 +25,11 @@ from zipline.sources.data_source import DataSource class DataFrameSource(DataSource): """ - Yields all events in event_list that match the given sid_filter. - If no event_list is specified, generates an internal stream of events - to filter. Returns all events if filter is None. + Data source that yields from a pandas DataFrame. - Configuration options: + :Axis layout: + * columns : sids + * index : datetime sids : list of values representing simulated internal sids start : start date @@ -88,11 +87,12 @@ class DataFrameSource(DataSource): class DataPanelSource(DataSource): """ - Yields all events in event_list that match the given sid_filter. - If no event_list is specified, generates an internal stream of events - to filter. Returns all events if filter is None. + Data source that yields from a pandas Panel. - Configuration options: + :Axis layout: + * items : sids + * major_axis : datetime + * minor_axis : price, volume, ... sids : list of values representing simulated internal sids start : start date