The zero_division argument is defined on the docs page and in the docstring here:
|
zero_division: The value to return when there is a division by zero. Options are 1.0, 0.0, "warn" or "nan". |
But it doesn't actually exist as an argument. Not sure if this is because it has been removed, or if it has not been implemented.