Python is considered a more general language than R, which is purpose-built for large datasets and statistical analysis, yet multiple language indexes have detected a decline in R's popularity, despite the growth of machine learning.