0 / 0
astimeintervalsnode properties
Last updated: Jan 17, 2024
astimeintervalsnode properties

Time Intervals node iconUse the Time Intervals node to specify intervals and derive a new time field for estimating or forecasting. A full range of time intervals is supported, from seconds to years.

Table 1. astimeintervalsnode properties
astimeintervalsnode properties Data type Property description
time_field field Can accept only a single continuous field. That field is used by the node as the aggregation key for converting the interval. If an integer field is used here it's considered to be a time index.
dimensions [field1 field2 … fieldn] These fields are used to create individual time series based on the field values.
fields_to_aggregate [field1 field2 … fieldn] These fields are aggregated as part of changing the period of the time field. Any fields not included in this picker are filtered out of the data leaving the node.
interval_type_timestamp Years
Quarters
Months
Weeks
Days
Hours
Minutes
Seconds
Specify intervals and derive a new time field for estimating or forecasting.
interval_type_time Hours
Minutes
Seconds
interval_type_date Years
Quarters
Months
Weeks
Days
Time interval
interval_type_integer Periods Time interval
periods_per_interval integer Periods per interval
start_month January February March April May June July August September October November December
week_begins_on Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
minute_interval 1
2
3
4
5
6
10
12
15
20
30
second_interval 1
2
3
4
5
6
10
12
15
20
30
agg_range_default Sum
Mean
Min
Max
Median
1stQuartile
3rdQuartile

Available functions for continuous fields include Sum, Mean, Min, Max, Median, 1st Quartile, and 3rd Quartile.

agg_set_default Mode
Min
Max

Nominal options include Mode, Min, and Max.

agg_flag_default TrueIfAnyTrue
FalseIfAnyFalse
Options are either True if any true or False if any false.
custom_agg array Custom settings for specified fields.
field_name_extension string Specify the prefix or suffix applied to all fields generated by the node.
field_name_extension_as_prefix true
false
Add extension as prefix.
Generative AI search and answer
These answers are generated by a large language model in watsonx.ai based on content from the product documentation. Learn more