Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有一系列标识符的 OpenRefine 列。有些是单个整数(22, 27),有些代表一个范围(28-33, 10023-10110)。我正在寻找一种方法来明确该范围内的每个数字,这样我就可以将每个值设为自己的行。
22
27
28-33
10023-10110
这是基本技术:
使用此表达式基于 Id2 创建一个新列
forRange(cells.Id1.value,cells.Id2.value+1,1,x,x).join(",")
然后单击新列上的“编辑单元格”并选择“拆分多值单元格”。这将为该范围创建新行。