Basic Pandas Operations

There are some operations with pandas that I often forget. This site exists exactly for that: to remind me how to perform these tasks. In this post, I’ll cover some very basic pandas operations that I often forget, including dropping columns, reordering columns, and changing the names of columns. ...

January 18, 2025 Â· 2 min Â· Pavodive

Basic Time Pandas Operations

Dates and date-time objects are some of the most challenging data types to work with. They can come in a variety of formats (long live ISO 8601!), may have different time zones, and introduce considerable complexity as a result. ...

January 18, 2025 Â· 4 min Â· Pavodive

Paquete spanish2 para R

In legal documents in Spanish language it is often necessary to include the “value in words” of a number—for example, $2400 (dos mil cuatrocientos pesos). I created the package spanish2 to automate this task. If you are curious to learn more about this package, please keep reading. If you’d like to install it or view its code, you can access its GitHub repository. Writing this package inspired this article about how to write an R package using Emacs and ESS (Emacs Speaks Statistics). You might want to check it out! ...

January 11, 2025 Â· 5 min Â· Pavodive

Writing an R package with Emacs and ESS

This article provides a step-by-step guide to writing R packages using Emacs’ ESS (Emacs Speaks Statistics) mode. By the end, you’ll have created a simple package called dummyaddition, which can perform the simple task of adding two numbers or paste two strings. ...

January 11, 2025 Â· 16 min Â· Pavodive