Show More
Menu
Image
Hi there! I am Federico Trotta

Technical WriterFreelance

All posts in programmazione

  • Image

    Aprile 27, 2024

    Pandas reset_index(): How To Reset Indexes in Pandas

    In data analysis, managing the structure and layout of data before analyzing them is crucial. Python offers versatile tools to manipulate data, including the often-used Pandas reset_index() method. This article provides an in-depth exploration of the Pandas reset_index() method, explaining its importance, usage, and the scenarios where it’s useful. What is Pandas reset_index() and when

  • Image

    Aprile 24, 2024

    How To Easily Remove a Password From a PDF file

    Imagine a scenario (which happened to me): your employer gives you the documentation relating to your financial situation and, at a certain point, you have to give it to your financial advisor. Problem: the document is in PDF and is password-protected (which is good), but you can give it to your financial advisor only by

  • Image

    Aprile 24, 2024

    How To Create a Repository in GitHub

    As I’ve worked for several years with documents, I understand the need to define the revision index of a document, when it needs to be changed. So, when I first read about version control (and Git and GitHub), I could immediately understand its importance, even if this is not properly the same thing as a

  • Image

    Aprile 1, 2024

    How Python’s Argparse Can Be Useful in Data Science

    When I first approached Python’s Argparse,  I had great difficulty understanding how it works because I had never programmed before. Also, I asked myself: “How can a command-line interface be useful in Data Science??”. Well, I’m showing it, with a practical example. But first, let’s explain what Argparse is. What is Python’s Argparse? Python’s Argparse is

  • Image

    Aprile 1, 2024

    How to calculate RGB values in Python

    When managing images, a good exercise is to calculate RGB values in Python. If you’re asking yourself: “What does RGB mean?”; don’t worry: this was the first question I’ve asked myself before coding for this exercise. So, before the code, let’s talk about RGB. Black and white, RGB, Alpha level: basic information about images RGB

  • Image

    Novembre 24, 2023

    Data Structures in Python: la Guida Completa

    Se hai iniziato a programmare, che tu voglia diventare un ingegnere del software o un data scientist, devi assolutamente padroneggiare le data structures in Python. Ci sono diverse tipologie di data structures in Python (altrimenti dette “strutture dati” in italiano) che ci consentono di archiviare dati. In questo articolo approfondiremo quelli più utilizzati. Quindi, se

  • Image

    Novembre 23, 2023

    Liste in Python: La Guida Definitiva per Lavorare con Raccolte Ordinate di Dati

    Durante la programmazione dobbiamo sempre occuparci della struttura dei dati, altrimenti dette data structures in Inglese. Ciò che intendo è che dobbiamo archiviare le informazioni da qualche parte in modo da poterle riutilizzare in seguito. Questo è molto importante per l’analisi dei dati e la Data Science, ma, in realtà, è importante nella programmazione in