Skip to content

Commit 0c788ac

Browse files
authored
Fix command overlapping for make_docs.nu and Refresh commands for v0.64 (#505)
1 parent 72b77d6 commit 0c788ac

File tree

439 files changed

+1615
-1373
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

439 files changed

+1615
-1373
lines changed
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: dfr agg
3-
version: 0.63.1
2+
title: agg
3+
version: 0.64.0
44
usage: |
55
Performs a series of aggregations from a group by
66
---
@@ -16,7 +16,7 @@ usage: |
1616

1717
## Signature
1818

19-
```> dfr agg ...Group by expressions```
19+
```> agg ...Group by expressions```
2020

2121
## Parameters
2222

@@ -27,24 +27,24 @@ usage: |
2727
Group by and perform an aggregation
2828
```shell
2929
> [[a b]; [1 2] [1 4] [2 6] [2 4]]
30-
| dfr to-df
31-
| dfr group-by a
32-
| dfr agg [
33-
("b" | dfr min | dfr as "b_min")
34-
("b" | dfr max | dfr as "b_max")
35-
("b" | dfr sum | dfr as "b_sum")
30+
| to-df
31+
| group-by a
32+
| agg [
33+
(col b | min | as "b_min")
34+
(col b | max | as "b_max")
35+
(col b | sum | as "b_sum")
3636
]
3737
```
3838

3939
Group by and perform an aggregation
4040
```shell
4141
> [[a b]; [1 2] [1 4] [2 6] [2 4]]
42-
| dfr to-lazy
43-
| dfr group-by a
44-
| dfr agg [
45-
("b" | dfr min | dfr as "b_min")
46-
("b" | dfr max | dfr as "b_max")
47-
("b" | dfr sum | dfr as "b_sum")
42+
| to-lazy
43+
| group-by a
44+
| agg [
45+
(col b | min | as "b_min")
46+
(col b | max | as "b_max")
47+
(col b | sum | as "b_sum")
4848
]
49-
| dfr collect
49+
| collect
5050
```

book/commands/dfr_all-false.md renamed to book/commands/_all-false.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: dfr all-false
3-
version: 0.63.0
2+
title: all-false
3+
version: 0.64.0
44
usage: |
55
Returns true if all values are false
66
---
@@ -16,18 +16,18 @@ usage: |
1616

1717
## Signature
1818

19-
```> dfr all-false ```
19+
```> all-false ```
2020

2121
## Examples
2222

2323
Returns true if all values are false
2424
```shell
25-
> [false false false] | dfr to-df | dfr all-false
25+
> [false false false] | to-df | all-false
2626
```
2727

2828
Checks the result from a comparison
2929
```shell
30-
> let s = ([5 6 2 10] | dfr to-df);
30+
> let s = ([5 6 2 10] | to-df);
3131
let res = ($s > 9);
32-
$res | dfr all-false
32+
$res | all-false
3333
```

book/commands/dfr_all-true.md renamed to book/commands/_all-true.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: dfr all-true
3-
version: 0.63.0
2+
title: all-true
3+
version: 0.64.0
44
usage: |
55
Returns true if all values are true
66
---
@@ -16,18 +16,18 @@ usage: |
1616

1717
## Signature
1818

19-
```> dfr all-true ```
19+
```> all-true ```
2020

2121
## Examples
2222

2323
Returns true if all values are true
2424
```shell
25-
> [true true true] | dfr to-df | dfr all-true
25+
> [true true true] | to-df | all-true
2626
```
2727

2828
Checks the result from a comparison
2929
```shell
30-
> let s = ([5 6 2 8] | dfr to-df);
30+
> let s = ([5 6 2 8] | to-df);
3131
let res = ($s > 9);
32-
$res | dfr all-true
32+
$res | all-true
3333
```

book/commands/dfr_append.md renamed to book/commands/_append.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: dfr append
3-
version: 0.63.0
2+
title: append
3+
version: 0.64.0
44
usage: |
55
Appends a new dataframe
66
---
@@ -16,7 +16,7 @@ usage: |
1616

1717
## Signature
1818

19-
```> dfr append (other) --col```
19+
```> append (other) --col```
2020

2121
## Parameters
2222

@@ -27,12 +27,12 @@ usage: |
2727

2828
Appends a dataframe as new columns
2929
```shell
30-
> let a = ([[a b]; [1 2] [3 4]] | dfr to-df);
31-
$a | dfr append $a
30+
> let a = ([[a b]; [1 2] [3 4]] | to-df);
31+
$a | append $a
3232
```
3333

3434
Appends a dataframe merging at the end of columns
3535
```shell
36-
> let a = ([[a b]; [1 2] [3 4]] | dfr to-df);
37-
$a | dfr append $a --col
36+
> let a = ([[a b]; [1 2] [3 4]] | to-df);
37+
$a | append $a --col
3838
```

book/commands/dfr_arg-max.md renamed to book/commands/_arg-max.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: dfr arg-max
3-
version: 0.63.0
2+
title: arg-max
3+
version: 0.64.0
44
usage: |
55
Return index for max value in series
66
---
@@ -16,11 +16,11 @@ usage: |
1616

1717
## Signature
1818

19-
```> dfr arg-max ```
19+
```> arg-max ```
2020

2121
## Examples
2222

2323
Returns index for max value
2424
```shell
25-
> [1 3 2] | dfr to-df | dfr arg-max
25+
> [1 3 2] | to-df | arg-max
2626
```

book/commands/dfr_arg-min.md renamed to book/commands/_arg-min.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: dfr arg-min
3-
version: 0.63.0
2+
title: arg-min
3+
version: 0.64.0
44
usage: |
55
Return index for min value in series
66
---
@@ -16,11 +16,11 @@ usage: |
1616

1717
## Signature
1818

19-
```> dfr arg-min ```
19+
```> arg-min ```
2020

2121
## Examples
2222

2323
Returns index for min value
2424
```shell
25-
> [1 3 2] | dfr to-df | dfr arg-min
25+
> [1 3 2] | to-df | arg-min
2626
```

book/commands/dfr_arg-sort.md renamed to book/commands/_arg-sort.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: dfr arg-sort
3-
version: 0.63.0
2+
title: arg-sort
3+
version: 0.64.0
44
usage: |
55
Returns indexes for a sorted series
66
---
@@ -16,7 +16,7 @@ usage: |
1616

1717
## Signature
1818

19-
```> dfr arg-sort --reverse --nulls-last```
19+
```> arg-sort --reverse --nulls-last```
2020

2121
## Parameters
2222

@@ -27,10 +27,10 @@ usage: |
2727

2828
Returns indexes for a sorted series
2929
```shell
30-
> [1 2 2 3 3] | dfr to-df | dfr arg-sort
30+
> [1 2 2 3 3] | to-df | arg-sort
3131
```
3232

3333
Returns indexes for a sorted series
3434
```shell
35-
> [1 2 2 3 3] | dfr to-df | dfr arg-sort -r
35+
> [1 2 2 3 3] | to-df | arg-sort -r
3636
```

book/commands/dfr_arg-true.md renamed to book/commands/_arg-true.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: dfr arg-true
3-
version: 0.63.0
2+
title: arg-true
3+
version: 0.64.0
44
usage: |
55
Returns indexes where values are true
66
---
@@ -16,11 +16,11 @@ usage: |
1616

1717
## Signature
1818

19-
```> dfr arg-true ```
19+
```> arg-true ```
2020

2121
## Examples
2222

2323
Returns indexes where values are true
2424
```shell
25-
> [false true false] | dfr to-df | dfr arg-true
25+
> [false true false] | to-df | arg-true
2626
```

book/commands/dfr_arg-unique.md renamed to book/commands/_arg-unique.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: dfr arg-unique
3-
version: 0.63.0
2+
title: arg-unique
3+
version: 0.64.0
44
usage: |
55
Returns indexes for unique values
66
---
@@ -16,11 +16,11 @@ usage: |
1616

1717
## Signature
1818

19-
```> dfr arg-unique ```
19+
```> arg-unique ```
2020

2121
## Examples
2222

2323
Returns indexes for unique values
2424
```shell
25-
> [1 2 2 3 3] | dfr to-df | dfr arg-unique
25+
> [1 2 2 3 3] | to-df | arg-unique
2626
```

book/commands/dfr_as-date.md renamed to book/commands/_as-date.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: dfr as-date
3-
version: 0.63.0
2+
title: as-date
3+
version: 0.64.0
44
usage: |
55
Converts string to date.
66
---
@@ -16,7 +16,7 @@ usage: |
1616

1717
## Signature
1818

19-
```> dfr as-date (format) --not-exact```
19+
```> as-date (format) --not-exact```
2020

2121
## Parameters
2222

@@ -34,5 +34,5 @@ Format example:
3434

3535
Converts string to date
3636
```shell
37-
> ["2021-12-30" "2021-12-31"] | dfr to-df | dfr as-datetime "%Y-%m-%d"
37+
> ["2021-12-30" "2021-12-31"] | to-df | as-datetime "%Y-%m-%d"
3838
```

0 commit comments

Comments
 (0)