lsst.pipe.tasks ga0be0691d8+ae2b9df503
Loading...
Searching...
No Matches
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

Public Member Functions

Iterable[str] columns (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 164 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 170 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 165 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 167 of file _actions.py.


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