lsst.pipe.tasks gd5638573c2+392ae78cd2
Loading...
Searching...
No Matches
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)
Public Member Functions inherited from lsst.pipe.tasks.dataFrameActions._baseDataFrameActions.DataFrameAction
None __init_subclass__ (cls, **kwargs)
Iterable[Any] __call__ (self, dataFrame, **kwargs)

Static Public Attributes

 aggregator
 newColumn = Field(doc="Name of the new column to add", dtype=str)
Static Public Attributes inherited from lsst.pipe.tasks.dataFrameActions._baseDataFrameActions.DataFrameAction
 cache
 cacheArgs

Additional Inherited Members

Protected Attributes inherited from lsst.pipe.tasks.dataFrameActions._baseDataFrameActions.DataFrameAction
 _frozen
Static Protected Attributes inherited from lsst.pipe.tasks.dataFrameActions._baseDataFrameActions.DataFrameAction
Mapping _actionCache [int, Any]

Member Function Documentation

◆ 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.

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)

The documentation for this class was generated from the following file:
  • python/lsst/pipe/tasks/dataFrameActions/_actions.py