featurebyte.Feature.cd.divide¶
divide(
other: Feature
) -> FeatureDescription¶
Divides all values in the Cross Aggregate feature by a numeric feature. If the divisor is 0 or null for a row, returns null for that row.
Parameters¶
- other: Feature
A numeric feature to use as the divisor.
Returns¶
- Feature
A new Cross Aggregate feature with values divided by the given feature.
Examples¶
Create a new feature by dividing a dictionary feature by a numeric feature: