Diego BarbainTowards Data ScienceTinkering with the USDA Food DatabasePreparing the USDA FoodDataCentral Database for Machine Learning algorithms and further statistical analysis.·16 min read·Oct 25, 2022--2--2
Diego BarbainTowards Data SciencePython Concurrency — concurrent.futuresPart 3 of the Python Concurrency series. Interface simplicity brought to multi-threading and multi-processing.·7 min read·Sep 1, 2022--2--2
Diego BarbainTowards Data SciencePython Concurrency — MultiprocessingPart 2 of the Python Concurrency series. The multiprocessing module enables us to perform genuinely parallel tasks. Yet there are many…·11 min read·Aug 17, 2022----
Diego BarbainTowards Data SciencePython Concurrency — Threading and the GILPart 1 of the Python Concurrency series. Threads are the Global Interpreter Lock (GIL) are some of the more controversial topics in Python…·10 min read·Aug 9, 2022----
Diego BarbainTowards Data ScienceAsync for Data Scientists — Don’t Block the Event LoopCPU-hungry tasks or non-async I/O libraries may block the event loop of your program. Learn how to avoid this in Python.·8 min read·Jul 25, 2022--1--1
Diego BarbainTowards Data ScienceRolling Windows in NumPy — The Backbone of Time Series Analytical MethodsHow do rolling (sliding) window calculations work in NumPy? How to they compare to Pandas rolling?·12 min read·Jul 20, 2022----
Diego BarbainTowards Data ScienceNumPy ufuncs — The Magic Behind Vectorized FunctionsLearn about NumPy universal functions (ufuncs) and how to create them. Code your own vectorized functions.·7 min read·Jul 6, 2022----
Diego BarbainTowards Data SciencePython Collections Module: The Forgotten Data ContainersIf you are not using the container datatypes from the collections module, you should.·6 min read·Jun 29, 2022--1--1
Diego BarbainTowards Data ScienceDecorator Tricks for Data ScientistsIf you are not using Python decorators yet, you should. Pure syntactic sugar.·6 min read·Jun 28, 2022----
Diego BarbainTowards Data ScienceExecution Times in PythonMeasure the execution time of your code in Python the right way·6 min read·Jun 22, 2022----