Loading tutorials
assign, groupby) and that you know a single machine has a memory limit. Here you will learn what a partition is and why Dask's behavior follows from it. You will also learn how to inspect partitions and which problems come from parti6 min readassign, groupby) and that you have seen a Dask DataFrame described as a set of par6 min readassign, groupby). It also assumes you have met Dask partitions from the earlier chapters. Here you will learn what Dask does when you write a pandas-style line, and why most lines return almost instantly.6 min readassign, groupby), and that you have seen how a Dask DataFrame is split into partitions and how lazy evaluation builds a task graph. Here you will learn how to trigger that graph, what you get back, and when to keep results in memory.6 min readassign and groupby. It also assumes you have met partitions, lazy task graphs, and compute and persist from earlier chapters. Here you will apply familiar pandas code to a Dask DataFrame. You will also learn where the two differ and 5 min readcompute() to run them. You should also know the difference between a thread and a process in Python, and have a rough idea of what the Global Interpreter Lock (GIL) is.6 min readmap_partitions, the method that runs your own pandas function on every partition of a Dask DataFrame. It assumes you know basic Python functions and imports, and pandas fundamentals such as assign, filtering, and groupby. It also assumes you have met partitions, lazy evalua5 min readmap_partitions (covered in earlier chapters). It also assumes you are comfortable with pandas dtypes such as int64, float64, object, and category. Here you will learn what meta is, how Dask infers it, when inferenc5 min readgroupby, and set_index. You should also know that a Dask DataFrame is a set of pandas partitions, and that Dask is lazy until you call compute() or persist().7 min readcompute() or persist(). You should also know that a Dask DataFrame is a collection of pandas DataFrames called partitions.6 min readcompute and persist, and the basics of schedulers and the distributed Client. It collects the mistakes that most often slow down or break Dask DataFrame code, and gives you a routine for finding the cause7 min readcompute() runs them. It also assumes you have met the schedulers (threads, processes, synchronous). Here you apply the same ideas to ordinary Python functions that do not fit the DataFrame model.5 min read