aggregate_anchor_aligned_encoding_rows
Pivot anchor-aligned rows into a feature-class by column matrix.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
aligned_df
|
DataFrame
|
DataFrame produced by
:func: |
required |
feature_classes
|
Sequence[str]
|
Row order for the returned matrix. |
required |
column_ids
|
Optional[Sequence[str]]
|
Optional column order. Defaults to |
None
|
aggregate
|
str
|
Aggregation applied to |
'mean'
|
Returns:
| Type | Description |
|---|---|
DataFrame
|
A pandas DataFrame indexed by |
DataFrame
|
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If |