You can find an extensive hands-on tutorial, courtesy of the ALCF PythonFOAM workshop, here: https://www.youtube.com/watch?v=-Sa2OEssru8 PODFoam/: A pimpleFoam solver ...
It's time to join the Pythonistas.
TL;DR: The best Python libraries for data science are NumPy (numerical arrays), Pandas (data wrangling), Scikit‑learn (classical machine learning), and Matplotlib (plots). These tools are essential ...