python - how to fix rows getting "None" when using .apply function in ...

python - how to fix rows getting "None" when using .apply function in ...