【发布时间】:2021-04-18 01:44:24
【问题描述】:
如果我要按日期分组,我将如何过滤每个组的第 nth 个条目?
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {"url": "https://cdn.jsdelivr.net/npm/vega-datasets@v1.29.0/data/seattle-temps.csv"},
"mark": "point",
"encoding": {
"x": {"field": "date", "type": "temporal"},
"y": {"field": "temp", "type": "quantitative"}
}
}
编辑
让我们保持这个数据不可知,因为我的数据有很多列,我想要完整的行。
【问题讨论】: