Skip to content

Commit bb4749c

Browse files
committed
Fixing pivot & unpivot help
Fix #872
1 parent 5a73097 commit bb4749c

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*Fixes*
66

77
* Fixing `xan freq --groupby` incorrectly unescaping group cells.
8+
* Fixing help related to `xan pivot` & `xan unpivot`.
9+
* Upgrading `simd-csv` to get safety fixes.
810

911
## 0.54.0
1012

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,8 @@ To access the expression language's [cheatsheet](./docs/moonblade/cheatsheet.md)
606606
*Transpose & pivot*
607607
608608
- [**transpose (t)**](./docs/cmd/transpose.md): Transpose CSV file
609-
- [**pivot**](./docs/cmd/pivot.md): Stack multiple columns into fewer columns
610-
- [**unpivot**](./docs/cmd/unpivot.md): Split distinct values of a column into their own columns
609+
- [**pivot**](./docs/cmd/pivot.md): Split distinct values of a column into their own columns columns
610+
- [**unpivot**](./docs/cmd/unpivot.md): Stack multiple columns into fewer
611611
612612
*Split a CSV file into multiple*
613613

docs/cmd/unpivot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ cars,100,200,300
1313
1414
The following command:
1515
16-
$ xan pivot jan: -N month -V sales file.csv
16+
$ xan unpivot jan: -N month -V sales file.csv
1717
1818
Will produce the following result:
1919

src/cmd/unpivot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cars,100,200,300
1515
1616
The following command:
1717
18-
$ xan pivot jan: -N month -V sales file.csv
18+
$ xan unpivot jan: -N month -V sales file.csv
1919
2020
Will produce the following result:
2121

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ macro_rules! command_list {
102102
103103
## Transpose & pivot
104104
transpose (t) Transpose CSV file
105-
pivot (pivot-wider) Stack multiple columns into fewer columns
106-
unpivot (pivot-longer) Split distinct values of a column into their own columns
105+
pivot (pivot-wider) Split distinct values of a column into their own columns
106+
unpivot (pivot-longer) Stack multiple columns into fewer columns
107107
108108
## Split a CSV file into multiple
109109
split Split CSV data into chunks

0 commit comments

Comments
 (0)