Boost up your python and R skills with a question a day by signing up at https://t.co/lvudqI5rmU.
youtube: https://t.co/rVgM836x2W
threads: https://t.co/sJjkuDohjd
Mar 12, 2021 • 5 tweets • 3 min read
By default when you create a factor in R, the `NA`'s are not included as a level. Which of the following would include `NA` as a level? [see_image_1] #RStats#DataScience [TimeStamp:12032021033052]
Options: 1. `x = factor(c(1,1,2,NA))` 2. `x = factor(c(1,1,2,NA), levels = c(1,2,NA))` 3. `x = factor(c(1,1,2,"NA"))` 4. `x = factor(c(1,1,2,NA), exclude=NULL)`
Mar 11, 2021 • 4 tweets • 2 min read
What would be the output of the following? [see_image_1] #RStats#DataScience [TimeStamp:11032021033056]
Options: 1. `1 2 3` 2. `2 3 4` 3. `1.3 2.3 3.3` 4. `NA`
Jan 30, 2021 • 13 tweets • 5 min read
#rstats users who are planning to learn #python, welcome to another edition of tweetorial.
The idea is to leverage your experience with R to explain python concepts w/o going into too much detail. For details, refer the links attached at the bottom.
For today, I am covering the data types in python (except complex, binary types). R has data types: integer, double, character and boolean. Well python too has the same data types, although some names are different. In R `integer` cannot be a fractional and is written by