Skip to content

crawstat.

data. analytics. models.

  • Contact

Tag: Data Manipulation

Comparing Filtering Methods on MoMA Artworks

Comparing Filtering Methods on MoMA Artworks

We regularly filter dataframes using boolean masking, loc, query, and numpy.where. I was curious how they actually compared. I came…
February 24, 2021 hpoola
Comparing groupby, pivot_table, and crosstab on Covid Smell Loss Data

Comparing groupby, pivot_table, and crosstab on Covid Smell Loss Data

We routinely use groupby, pivot_table, and crosstab along with stack and unstack to pivot data by variables in order to…
February 8, 2021February 9, 2021 hpoola
Cleaner, Clearer Code with Pipe

Cleaner, Clearer Code with Pipe

I first came across pandas pipe last month at a Berlin Time Series Analysis meetup and in a TDS post.…
January 25, 2021January 25, 2021 hpoola
SpaceX & Wine: Reshaping Nested Data

SpaceX & Wine: Reshaping Nested Data

We often encounter nested data, including in json files or dataframes with nested data columns. Today, we’ll walk through a…
November 2, 2020 hpoola
’96 Sonics: 3 Regex Methods to Split Names

’96 Sonics: 3 Regex Methods to Split Names

Today, we’ll walk through 3 simple regex methods to split names into first and last names in a dataframe. We’ll…
October 2, 2020October 2, 2020 hpoola
WordPress TwoPoints.
Loading Comments...