datascience+

R & Python tutorials: Programming

79articles in Programming · 37 authors · 1.6M page views

Learn to program for data work in R and Python. Tutorials cover functions, loops and data structures, running code in parallel, keeping passwords safe, and building Shiny dashboards and small tools. Others walk through complete projects, such as face detection and reading handwritten digits.

Got an R or Python tutorial in you? Join and start writing →
Dec 6, 2026Converting dplyr code to SQL in R with show_query()LImageLoess · R · ProgrammingLImageLoessRProgramming3 minDec 6, 2026
Dec 5, 2026Passing R variables into a SQL query: DBI params and glue_sql()LImageLoess · R · ProgrammingLImageLoessRProgramming3 minDec 5, 2026
Nov 16, 2026AI Agent Cost Calculator in Python: 36 Retry Scenarios for Cost per Completed TaskDMImageDaniel Martin · Py · ProgrammingDMImageDaniel MartinPyProgramming6 minNov 16, 2026
Oct 20, 2026From a planning idea to a Python agent: reading Sage’s integration pathEZImageEric ZZ · Py · ProgrammingEZImageEric ZZPyProgramming4 minOct 20, 2026
Oct 10, 2026Calculus in R: Derivatives and IntegralsLImageLoess · R · ProgrammingLImageLoessRProgramming12 minOct 10, 2026
Oct 5, 2026Half of CRAN now depends on rlang: counting reverse dependencies in RLImageLoess · R · ProgrammingLImageLoessRProgramming7 minOct 5, 2026
Oct 1, 2026Distributed lag regression in R: crude oil costs reach the gas pump within two monthsLImageLoess · R · ProgrammingLImageLoessRProgramming6 minOct 1, 2026
Sep 11, 2026Seasonal adjustment in R with stl(): the December bump has halved since 1992LImageLoess · R · ProgrammingLImageLoessRProgramming5 minSep 11, 2026
Aug 21, 2026What set.seed() stops doing when your R code goes parallelLImageLoess · R · ProgrammingLImageLoessRProgramming14 minAug 21, 2026
Aug 16, 2026Building a Human-in-the-Loop Validation Workflow for AI Systems in PythonHBImageHarris Bashir · Py · ProgrammingHBImageHarris BashirPyProgramming13 minAug 16, 2026
Aug 16, 2026Building a Simple LLM Cost and Risk Visibility Tool in PythonHBImageHarris Bashir · Py · ProgrammingHBImageHarris BashirPyProgramming12 minAug 16, 2026
Jun 8, 2021Using cache to avoid re-processing, improve UX, and quicken results in RBLImageBernardo Lares · R · ProgrammingBLImageBernardo LaresRProgramming6 minJun 8, 2021
Jan 5, 2021Support Vector Machine for Hand Written Alphabet RecognitionMRImageMohan Rai · R · ProgrammingMRImageMohan RaiRProgramming6 minJan 5, 2021
Aug 11, 2020New Features in Python 3.9 That You Need to KnowHGImageHarini Guptha · Py · ProgrammingHGImageHarini GupthaPyProgramming4 minAug 11, 2020
Aug 10, 2020Methods vs. Functions in PythonSUImageSairam Uppugundla · Py · ProgrammingSUImageSairam UppugundlaPyProgramming6 minAug 10, 2020
Aug 2, 2020Credit Risk Modelling using Machine Learning: A Gentle IntroductionOGImageObaid Pervaiz Gill · R · ProgrammingOGImageObaid Pervaiz GillRProgramming1 minAug 2, 2020
Aug 1, 2020How to manage credentials and secrets safely in RBLImageBernardo Lares · R · ProgrammingBLImageBernardo LaresRProgramming5 minAug 1, 2020
May 24, 2020Keras implementation and pushing it to dockerhubADImageArpit Dwivedi · Py · ProgrammingADImageArpit DwivediPyProgramming6 minMay 24, 2020
May 22, 2020Multiclass classification using TensorflowADImageArpit Dwivedi · Py · ProgrammingADImageArpit DwivediPyProgramming13 minMay 22, 2020
Dec 28, 2019Understanding Customer Attrition Using Categorical Features in PythonMGImageMesfin Gebeyaw · Py · ProgrammingMGImageMesfin GebeyawPyProgramming9 minDec 28, 2019
Dec 9, 2019KNNImputer for Missing Value Imputation in Python using scikit-learnARImageAbdul Majed Raja · Py · ProgrammingARImageAbdul Majed RajaPyProgramming2 minDec 9, 2019
Sep 8, 2019Parsing Text for Emotion Terms: Analysis & Visualization Using R: Updated AnalysisMGImageMesfin Gebeyaw · R · ProgrammingMGImageMesfin GebeyawRProgramming8 minSep 8, 2019
Aug 12, 2019Machine Learning: Create Expert SystemsSKImageSanjay Kumar · Py · ProgrammingSKImageSanjay KumarPyProgramming4 minAug 12, 2019
Jun 24, 2019Programmatically generate REGEX Patterns in R without knowing RegexARImageAbdul Majed Raja · R · ProgrammingARImageAbdul Majed RajaRProgramming3 minJun 24, 2019
Apr 7, 2019Face Recognition with OpenCVADImageArpit Dwivedi · Py · ProgrammingADImageArpit DwivediPyProgramming5 minApr 7, 2019
Showing 25 of 79 articlesShow more →Show all - 79 articles