Data algebra, going back to Codd's relational operators
When working with multiple data tables we often need to know how for a given set of keys, how many instances of rows each table has. I would like to use such an example in Python as yet another introduction to the data algebra (an alternative to direct Pandas or direct SQL notation). First let'
Data algebra, going back to Codd's relational operators launched on December 2, 2021 with 7 votes, #1,209 of 2,707 launches that month and more than 50% of that year's launches. The site was still online in September 2026, 4 years on.
What it does
When working with multiple data tables we often need to know how for a given set of keys, how many instances of rows each table has. I would like to use such an example in Python as yet another introduction to the data algebra (an alternative to direct Pandas or direct SQL notation). First let's…
I would like to use such an example in Python as yet another introduction to the data algebra (an alternative to direct Pandas or direct SQL notation). First let’s import our packages and set up our example data. from typing import List import pandas from data_algebra.data_ops import * import data_algebra.SQLite # some example data d1 = pandas . DataFrame ({ 'ID' : [ 2 , 3 , 7 , 7 ], 'OP' : [ 'A' , 'B' , 'B' , 'D' ], }) d2 = pandas . DataFrame ({ 'ID' : [ 1 , 1 , 2 , 3 , 4 , 2 , 4 , 4 , 5 , 5 , 6 ], 'OP' : [ 'A' , 'B' , 'A' , 'D' , 'C' , 'A' , 'D' , 'B' , 'A' , 'B' , 'B' ], }) And let’s declare our list of key columns. def merge_in_counts ( pipeline : ViewRepresentation ,…from win-vector.com
Does a similar job
all alternatives →
A Python container for dataclasses with multi-indexing and vector opps2020 · github.com · ▲122A container for dataclasses with multi-indexing and bulk operations. - joshlk/dataclassframe
- ALA little notebook for learning linear algebra with Python2025 · little-book-of.github.io · ▲190

I implemented a neural network in SQLJul 2026 · github.com · ▲121Two weeks ago I was on my babymoon in Corfu, Greece. While in transit, I was overseeing a GSoC intern submit an important feature to my array database library, Xarray-SQL. He added `to_dataset()`, which completed the roundtrip between thinking of array data in a tabular model simultaneously as gridded rasters (the premise of the project is that every Nd array can be mapped to 2d, where orthogonal dims of the Nd array are just primary keys of a tabular representation). We discussed in chat, now that this feature existed, what demos could we make that would prove this data model works? With…

- HAHashquery, a Python library for defining reusable analysis2024 · hashquery.dev · ▲67
Hi all, we recently open sourced the first version of Hashquery, a Python library which lets you model analytics, DRY up common logic, and execute it against a database or warehouse. We were originally rendering SQL directly for all our queries, but that spiraled out of control with more complex analysis; the SQL needed to be changed sporadically for each new database dialect (BigQuery, Redshift, Aethena, Postgres, etc etc) and the SQL fragments were very challenging to reuse (and so fragments were copy-pasted all over). ~~~ Advantages we think it has over writing SQL by hand: - Queries are…
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 28d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 26d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 24d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 21d ago · talanoa.email

Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.
Dev tools · 12h ago · github.com
Source: Show HN post ↗
Launched alongside, December 2021
the whole month →
Powerful enhanced experience for Twitter
Life & fun · 2021 · blackmagic.so

A beautiful, clean, modern web UI for Wikipedia. Enhance your Wikipedia experience with a redesigned look, new features and customization.
Life & fun · 2021 · modernwiki.app



BitsForDigits▲624A partial buyout marketplace free for bootstrapped founders
Commerce · 2021 · flippa.com