lsst.pipe.tasks gcdcd7249d3+98aceebd1a
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.tasks.dataFrameActions._actions.AddColumn Class Reference
Inheritance diagram for lsst.pipe.tasks.dataFrameActions._actions.AddColumn:
lsst.pipe.tasks.dataFrameActions._baseDataFrameActions.DataFrameAction lsst.pipe.tasks.configurableActions._configurableAction.ConfigurableAction lsst::pex::config::config::Config lsst::pex::config::config::ConfigMeta

Public Member Functions

Iterable[strcolumns (self)
 
pd.DataFrame __call__ (self, df, **kwargs)
 

Static Public Attributes

 aggregator
 
 newColumn = Field(doc="Name of the new column to add", dtype=str)
 

Detailed Description

Definition at line 163 of file _actions.py.

Member Function Documentation

◆ __call__()

pd.DataFrame lsst.pipe.tasks.dataFrameActions._actions.AddColumn.__call__ (   self,
  df,
**  kwargs 
)

◆ columns()

Iterable[str] lsst.pipe.tasks.dataFrameActions._actions.AddColumn.columns (   self)
This property should return an iterable of columns needed by this action

Reimplemented from lsst.pipe.tasks.dataFrameActions._baseDataFrameActions.DataFrameAction.

Definition at line 169 of file _actions.py.

Member Data Documentation

◆ aggregator

lsst.pipe.tasks.dataFrameActions._actions.AddColumn.aggregator
static
Initial value:
= ConfigurableActionField(doc="This is an instance of a Dataframe action that will be used "
"to create a new column", dtype=DataFrameAction)

Definition at line 164 of file _actions.py.

◆ newColumn

lsst.pipe.tasks.dataFrameActions._actions.AddColumn.newColumn = Field(doc="Name of the new column to add", dtype=str)
static

Definition at line 166 of file _actions.py.


The documentation for this class was generated from the following file: