PandasColumnAttribute
QuantConnect.Python.PandasColumnAttribute
PandasColumnAttribute(name: str)
Bases: Attribute
Attribute to rename a property or field when converting an instance to a pandas DataFrame row.
Initializes a new instance of the PandasColumnAttribute class.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
The name of the column in the pandas DataFrame |
required |
name
name: str
The name of the column in the pandas DataFrame.