Parallel Programming with Dask in Python
Learn to upscale your Python workflows to efficiently handle big data with Dask.
Start Course for Free4 Hours15 Videos51 Exercises4150 XP
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).Loved by learners at thousands of companies
Course Description
When working with big data, you’ll face two common obstacles: using too much memory and long runtimes. The Dask library can lower your memory use by loading chunks of data only when needed. It can lower runtimes by using all your available computing cores in parallel. Best of all, it requires very few changes to your existing Python code. In this course, you use Dask to analyze Spotify song data, process images of sign language gestures, calculate trends in weather data, analyze audio recordings, and train machine learning models on big data.
- 1
Lazy Evaluation and Parallel Computing
FreeThis chapter will teach you the basics of Dask and lazy evaluation. At the end of this chapter, you'll be able to speed up almost any Python code by using parallel processing or multi-threading. You'll learn the difference between these two task scheduling methods and which one is better under which circumstances.
Introduction to Dask50 xpLazy evaluation50 xpDelaying functions100 xpTask graphs and scheduling methods50 xpWhat are the different schedulers?100 xpPlotting the task graph100 xpBuilding delayed pipelines50 xpAnalyzing songs on Spotify100 xpHow danceable are songs these days?100 xpMost popular songs100 xp - 2
Parallel Processing of Big, Structured Data
Here you’ll learn how to analyze big structured data using Dask arrays and Dask DataFrames. You'll learn how everything you know about NumPy and pandas can easily be applied to data that is too large to fit in memory.
Dask arrays50 xpDask array chunksizes50 xpLoading and processing photos100 xpAn image processing pipeline100 xpDask DataFrames50 xpCreating Dask dataframes from CSVs100 xpRead Dask DataFrames from Parquet100 xpSummertime grooves100 xpMultidimensional arrays50 xpExploring HDF5 files50 xpDask arrays from HDF5 datasets100 xpDask arrays from Zarr datasets100 xpXarray50 xpExploratory data analysis with xarray100 xpMonthly mean temperatures100 xpCalculating the trend in European temperatures100 xp - 3
Dask Bags for Unstructured Data
Process any kind of data. You'll learn how Dask bags can be used to efficiently process unstructured text data, semi-structured JSON data, and even recorded audio.
Introduction to Dask bags50 xpCreating a Dask bag100 xpCreating a bag from saved text100 xpString operations100 xpDask bag operations50 xpLoading JSON data100 xpFiltering Dask bags100 xpChaining operations100 xpConverting unstructured data to a DataFrame50 xpRestructuring a dictionary100 xpConverting to DataFrame100 xpUsing any data in Dask bags50 xpLoading wav data100 xpConstructing custom Dask bags100 xpProcessing unstructured audio100 xp - 4
Dask Machine Learning and Final Pieces
Harness the power of Dask to train machine learning models. You'll learn how to train machine learning models on big data using the Dask-ML package, and how to split Dask calculations across a mixture of processes and threads for even greater computing speed.
Using processes and threads50 xpWhich scheduler will be used?50 xpClusters and clients100 xpTraining machine learning models on big datasets50 xpUsing Dask to train a linear model100 xpMaking lazy predictions100 xpPreprocessing big datasets50 xpLazily transforming training data100 xpLazy train-test split100 xpWrap-up50 xp

James Fulton
Climate Informatics Researcher
James is a PhD researcher at the University of Edinburgh, where he tutors computing, machine learning, data analysis, and statistical physics. His research involves using and developing machine learning algorithms to extract space-time patterns from climate records and climate models. He has held visiting researcher roles, working on planet-scale data analysis and modeling, at the University of Oxford and Queen's University Belfast and has a masters in physics where he specialized in quantum simulation. In a previous life, he was employed as a data scientist in the insurance sector. When not several indents deep in Python, he performs improvised comedy.
What do other learners have to say?
I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.
Devon Edwards Joseph
Lloyds Banking Group
DataCamp is the top resource I recommend for learning data science.
Louis Maiden
Harvard Business School
DataCamp is by far my favorite website to learn from.
Ronald Bowers
Decision Science Analytics, USAA
Join over 9 million learners and start Parallel Programming with Dask in Python today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).