Skip to content

Commit

Permalink
fixes leftovers from conflicts (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarusA authored Aug 2, 2024
1 parent 8a95ba3 commit 30d6c9e
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/groupby.jl
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,9 @@ Specify bins to reduce groups after applying function `f`.
## Keywords
- `pad`: fraction of the total interval to pad at each end when `Bins` contains an
<<<<<<< HEAD
`Integer`. This avoids losing the edge values. Note this is a messy solution -
it will often be preferable to manually specify a `Vector` of chosen `Interval`s
rather than relying on passing an `Integer` and `pad`.
=======
`Integer`. This avoids losing the edge values. Note this is a messy solution -
it will often be prefereble to manually specify a `Vector` of chosen `Interval`s
rather than relying on passing an `Integer` and `pad`.
>>>>>>> parent of c54bc6c (Fix whitespace)
- `labels`: a list of descriptive labels for the bins. The labels need to have the same length as `bins`.
When the return value of `f` is a tuple, binning is applied to the _last_ value of the tuples.
Expand Down Expand Up @@ -182,12 +176,7 @@ Generates `CyclicBins` for three month periods.
## Keywords
- `start`: By default seasons start in December, but any integer `1:12` can be used.
- `labels`: either a vector of four labels, or a function that generates labels
<<<<<<< HEAD
from `Vector{Int}` of the selected quarters.
=======
from `Vector{Int}` of the selected quartals.
>>>>>>> parent of c54bc6c (Fix whitespace)
- `labels`: either a vector of four labels, or a function that generates labels from `Vector{Int}` of the selected quarters.
"""
seasons(; start=December, kw...) = months(3; start, kw...)

Expand Down

0 comments on commit 30d6c9e

Please sign in to comment.