Compute the number of non-None arguments. Copied from pandas.core.common.count_not_none (not part of the public API)
(*args)
| 43 | |
| 44 | |
| 45 | def count_not_none(*args) -> int: |
| 46 | """Compute the number of non-None arguments. |
| 47 | |
| 48 | Copied from pandas.core.common.count_not_none (not part of the public API) |
| 49 | """ |
| 50 | return sum(arg is not None for arg in args) |
| 51 | |
| 52 | |
| 53 | class _NoDefault(Enum): |
no outgoing calls
no test coverage detected
searching dependent graphs…