Big data and machine learning are driving profound technological progress across nearly every industry, and are rapidly shaping fluid mechanics research. This is a self-contained and pedagogical treatment of the data-driven tools that are leading research in model-order reduction, system identification, flow control, and turbulence closures.