English

A Grammar of Data Analysis

Computation 2025-11-05 v1

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.

Keywords

Cite

@article{arxiv.2511.02156,
  title  = {A Grammar of Data Analysis},
  author = {Xunmo Yang and Taylor Pospisil and Omkar Muralidharan and Dennis L. Sun},
  journal= {arXiv preprint arXiv:2511.02156},
  year   = {2025}
}
R2 v1 2026-07-01T07:20:25.890Z