Lean
$LEAN_TAG$
|
Collection of methods that converts lists of objects in pandas.DataFrame More...
Public Member Functions | |
PandasConverter () | |
Creates an instance of PandasConverter. More... | |
PyObject | GetDataFrame (IEnumerable< Slice > data, Type dataType=null) |
Converts an enumerable of Slice in a pandas.DataFrame More... | |
PyObject | GetDataFrame< T > (IEnumerable< T > data) |
Converts an enumerable of IBaseData in a pandas.DataFrame More... | |
PyObject | GetIndicatorDataFrame (IDictionary< string, List< IndicatorDataPoint >> data) |
Converts a dictionary with a list of IndicatorDataPoint in a pandas.DataFrame More... | |
PyObject | GetIndicatorDataFrame (PyObject data) |
Converts a dictionary with a list of IndicatorDataPoint in a pandas.DataFrame More... | |
override string | ToString () |
Returns a string that represent the current object More... | |
Collection of methods that converts lists of objects in pandas.DataFrame
Definition at line 30 of file PandasConverter.cs.
QuantConnect.Python.PandasConverter.PandasConverter | ( | ) |
Creates an instance of PandasConverter.
Definition at line 38 of file PandasConverter.cs.
PyObject QuantConnect.Python.PandasConverter.GetDataFrame | ( | IEnumerable< Slice > | data, |
Type | dataType = null |
||
) |
Converts an enumerable of Slice in a pandas.DataFrame
data | Enumerable of Slice |
dataType | Optional type of bars to add to the data frame |
Definition at line 58 of file PandasConverter.cs.
PyObject QuantConnect.Python.PandasConverter.GetDataFrame< T > | ( | IEnumerable< T > | data | ) |
Converts an enumerable of IBaseData in a pandas.DataFrame
data | Enumerable of Slice |
Helper method for testing
T | : | IBaseData |
Definition at line 97 of file PandasConverter.cs.
PyObject QuantConnect.Python.PandasConverter.GetIndicatorDataFrame | ( | IDictionary< string, List< IndicatorDataPoint >> | data | ) |
Converts a dictionary with a list of IndicatorDataPoint in a pandas.DataFrame
data | Dictionary with a list of IndicatorDataPoint |
Definition at line 128 of file PandasConverter.cs.
PyObject QuantConnect.Python.PandasConverter.GetIndicatorDataFrame | ( | PyObject | data | ) |
Converts a dictionary with a list of IndicatorDataPoint in a pandas.DataFrame
data | PyObject that should be a dictionary (convertible to PyDict) of string to list of IndicatorDataPoint |
Definition at line 148 of file PandasConverter.cs.
override string QuantConnect.Python.PandasConverter.ToString | ( | ) |
Returns a string that represent the current object
Definition at line 188 of file PandasConverter.cs.