cara mengubah r ke python
# if you are trying to convert the data from R to python, https://www.mit.edu/~amidi/teaching/data-science-tools/conversion-guide/r-python-data-manipulation/ is a good resource
# if you are looking for translating the code, https://towardsdatascience.com/essential-guide-to-translating-between-python-and-r-7cb18b786e5d seems to have comprehsensive information
CompSciGeek