Skip to content

pandasx / offsets

Variable: offsets ​

const offsets: object

Defined in: src/core/offsets.ts:136

Offset constructors, like pd.offsets.

Type Declaration ​

NameTypeDescriptionDefined in
BusinessDay()(n, options) => DateOffset-src/core/offsets.ts:170
CustomBusinessDay()(n, options) => DateOffset-src/core/offsets.ts:172
Day()(n) => DateOffset-src/core/offsets.ts:141
Hour()(n) => DateOffset-src/core/offsets.ts:140
Milli()(n) => DateOffset-src/core/offsets.ts:137
Minute()(n) => DateOffset-src/core/offsets.ts:139
MonthBegin()(n) => DateOffset-src/core/offsets.ts:149
MonthEnd()(n) => DateOffset-src/core/offsets.ts:148
Second()(n) => DateOffset-src/core/offsets.ts:138
SemiMonthBegin()(n) => DateOffset-src/core/offsets.ts:151
SemiMonthEnd()(n) => DateOffset-src/core/offsets.ts:150
BusinessMonthBegin()(n?, options?) => DateOffset-src/core/offsets.ts:177
BusinessMonthEnd()(n?, options?) => DateOffset-src/core/offsets.ts:173
DateOffset()(parts?) => DateOffsetRelative calendar offset, e.g. DateOffset({ months: 1, days: 2 }).src/core/offsets.ts:182
QuarterBegin()(n?, options?) => DateOffsetQuarter starts; startingMonth (default 1 → Jan/Apr/Jul/Oct).src/core/offsets.ts:158
QuarterEnd()(n?, options?) => DateOffsetQuarter ends; startingMonth (1–12) is a month that ends a quarter (default 12 → Mar/Jun/Sep/Dec).src/core/offsets.ts:153
Week()(n?, options?) => DateOffsetEvery week, or anchored on a weekday (0 = Monday … 6 = Sunday).src/core/offsets.ts:143
YearBegin()(n?, options?) => DateOffset-src/core/offsets.ts:166
YearEnd()(n?, options?) => DateOffset-src/core/offsets.ts:162

Released under the MIT License.