requires_x#
- requires_x()[source]#
Behaviour flag: transformer requires X in fit and transform.
String name:
"requires_X"Public behaviour flag
Values: boolean,
True/FalseExample:
TrueDefault:
True
This tag applies to transformations.
If the tag is
True, the transformer requires the input data argumentXto be passed in both thefitandtransformmethods, as well as in other methods that require input data, if available.If the tag is
False, the transformer does not require the input data argumentXto be passed in any method.