Hippocampus's Garden

Under the sea, in the hippocampus's garden...

Home | Hippocampus's Garden
[object Object]
5 posts tagged with "pandas"
post

Meet Pandas: Converting DataFrame to CSR Matrix

March 08, 2022  |  2 min read

This post shows how to convert a DataFrame of user-item interactions to a compressed sparse row (CSR) matrix, the most common format for sparse matrices.

post

Meet Pandas: Group-wise Sampling

October 13, 2020  |  2 min read

This post introduces how to sample groups from a dataset, which is helpful when you want to avoid data leakage.

post

Meet Pandas: Query Dataframe

August 25, 2020  |  2 min read

This post introduces the Pandas method of `query`, which allows us to query dataframes in an SQL-like manner.

post

Meet Pandas: Grouping and Boxplot

June 14, 2020  |  2 min read

This post summarizes how to group data by some variable and draw boxplots on it using Pandas and Seaborn.

post

Meet Pandas: loc, iloc, at & iat

April 27, 2020  |  2 min read

Have you ever confused Pandas methods `loc`, `at`, and `iloc` with each other? It's no more confusing when you have this table in mind.

Shion Honda

Hippocampus's Garden © 2024, Shion Honda. Built with Gatsby