Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Lobste.rsEnglish · 3 months ago

What Category Theory Teaches Us About DataFrames

mchav.github.io

external-link
message-square
0
link
fedilink
2
external-link

What Category Theory Teaches Us About DataFrames

mchav.github.io

RSS BotMB to Lobste.rsEnglish · 3 months ago
message-square
0
link
fedilink
When I initially challenged myself with building a dataframe implementation, I began by looking at what already existed for inspiration. Spark was my initial reference. Then pandas. Then Polars, R’s data.table, Julia’s DataFrames.jl. Each one had its own take on the API. Early on, my main challenge was trying to figure out which operations I actually needed to implement to call what I had a “dataframe”. The surface area felt enormous. Do I need pivot and melt as separate things? Is apply different from map? What about transform, agg, applymap, pipe? Some of these seemed like the same operation wearing different hats. Others seemed genuinely distinct. I didn’t have a good framework for telling them apart.

Comments

alert-triangle
You must log in or # to comment.

Lobste.rs

lobsters

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !lobsters@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

RSS Feed of lobste.rs

Source of the RSS Bot

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 31 users / day
  • 132 users / week
  • 506 users / month
  • 1.74K users / 6 months
  • 2 local subscribers
  • 388 subscribers
  • 14.6K Posts
  • 1.01K Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org