What Python Teaches About Coercion to NA in R

Опубликовано: 20 Апрель 2021
на канале: fiiinspires
164
3

In order to make the R Programmer understand and fall in love with the language and know that coercion rules and missing value handling in R can be a blessing, I made a video to showcase how understanding the coercion rules can simplify R code when compared with Python – another popular programming language for data science.

In this video, we compare how these two programming languages – R and Python deal with a task of validating the argument passed to a function. The video introduces you to a good distinction between the two languages. That is, in cases where Python returns error, R returns a value.

Timeline
00:00 Intro
00:30 Python Function
02:05 R Function
03:09 NA due to Coercion
03:28 Resolve NA to simplify Code
05:14 Explain why resolving NA works
05:54 Conclusion

Code Download
https://drive.google.com/file/d/1kab3...


Смотрите видео What Python Teaches About Coercion to NA in R онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь fiiinspires 20 Апрель 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 164 раз и оно понравилось 3 людям.