paper

A Grammar of Data Analysis

arXiv:2511.02156

Abstract

This paper outlines a grammar of data analysis, as distinct from grammars of data manipulation, in which the primitives are metrics and dimensions. We describe a Python implementation of this grammar called Meterstick, which is agnostic to the underlying data source, which may be a DataFrame or a SQL database.

A Grammar of Data Analysis · wovepaper