Closed PaulJonasJost closed 6 months ago
Typehint states it is optional, but no default value is provided
x: Optional[pd.DataFrame]
does not imply that it's an optional argument (i.e. should have a default value). It just means thatNone
is a valid value. The naming is very unfortunate. But fine to default toNone
in this specific case.
True perhaps the naming is just unfortunate. Also saw no problem in None as default value. Thanks, will merge.
Add None as default value, due to optionality.