Guide · Python
Python for data analysis: the guide
Python is the tool I use every day to analyse data, prototype AI models and build small web applications. Here you will find every article on the blog in one path: from the working environment to analysis libraries and web apps you can hand over to users.
Where to start
Three reads to get off on the right foot
Jupyter Notebook: user’s guide
The environment where you write, run and document analyses: the starting point of every data project.
Pandas: data analysis with Python [part 1].
The go-to library for loading, cleaning and analysing tables of data, explained with practical examples.
Streamlit: Build a Web App in minutes
How to turn an analysis script into a web app anyone can use, in a few lines of code.
Data analysis
From the working environment to cleaning and exploring data with Pandas, up to a complete clustering project.
Visualisation
Interactive charts and libraries to present analysis results clearly.
Web apps and backend
Streamlit and Gradio to put analyses and AI models online in hours; Django, Flask and Celery for more structured applications.
- Streamlit: Build a Web App in minutes
- Streamlit: how to improve the user experience of a web app
- OpenCV and Streamlit: create a photo editing app
- Gradio: web applications in python for AI [part1]
- Gradio: web applications in python for AI [part2]
- Gradio: web applications in Python for AI [Part 3]
- Django vs Flask: Python web frameworks comparison
- Celery and Django: Creating Asynchronous Tasks
- Node.js vs Python: comparing the two technologies for the backend
- Firebase: how to integrate a real-time database in Python
AI and images with Python
First experiments with text generation, chatbots and image processing.
- GPT-2: automatic text generation with Python
- Chatterbot: create a chatbot in python
- Pillow: optimize images with Python
You will find every article in the Python category of the blog. For the latest AI projects, see also the artificial intelligence guide.
When you need help
Want your team to work better with data?
I run tailored courses on Python for data analysis, SQL and responsible use of AI, built around your company’s real cases. On site in Turin and Piedmont, or online.
Frequently asked questions
Do I need to know how to code to follow these articles?
For the first ones, basic Python is enough. If you are starting from scratch, begin with Jupyter Notebook and the Pandas series.
Streamlit or Gradio: which is better?
Streamlit is better suited to dashboards and data analysis apps; Gradio was built to create interfaces for AI models quickly. The articles include examples of both.
Can Python replace Excel in a company?
For repetitive analyses, large data volumes and automated reports, yes, and it is one of the most common goals of the courses I teach. For quick, occasional calculations Excel is still handy.
Want to automate analyses and reports?
Tell me how you work with data today: I will tell you what can be automated and with how much effort.