Skip to content

Commit

Permalink
Merge pull request esnet#107 from miracle2k/patch-1
Browse files Browse the repository at this point in the history
Fix Hold/Pad confusion in docs.
  • Loading branch information
pjm17971 authored Mar 5, 2018
2 parents 99db9c9 + 58fe74b commit e807410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/pond/src/timeseries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ export class TimeSeries<T extends Key> {
* ```
* Options:
* * `fieldSpec` - the field to fill
* * `method` - the interpolation method, one of `FillMethod.Hold`, `FillMethod.Pad`
* * `method` - the interpolation method, one of `FillMethod.Zero`, `FillMethod.Pad`
* or `FillMethod.Linear`
* * `limit` - the number of missing values to fill before giving up
*
Expand Down
2 changes: 1 addition & 1 deletion packages/pond/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export enum AlignmentMethod {

/**
* Method of filling used by the `fill()` function:
* * `Hold` - Fill with the previous value
* * `Pad` - Fill with the previous value
* * `Linear` - Fill between the last value and the next value linearly
* * `Zero` - Fill with 0
*/
Expand Down

0 comments on commit e807410

Please sign in to comment.