For an introduction to Python in actuarial science, the Actuaries’ Analytic Cookbook (which is an initiative of the Young Data Analytics Working Group, a working group within the Australian Actuaries Institute is a great place to start.
In many of our blogs, particularly those focussing on deep learning, the code uses various packages, such as PyTorch, scikit-learn, Numpy and Pandas - a number of which are introduced in the aforementioned Cookbook. For example, PyTorch is a popular package for neural networks.
Instructions on how to install the packages and set up Python can be found on the Cookbook’s Setting up your environment page. You can then start working through some of the Cookbook articles, or posts on our website.
Furthermore, our online book which collects our blog posts may also be of interest. We will be updating this later in the year to include our recent series of blogs on using deep learning for reserving, but in the meantime check out this post for an overview.