OptionalcountOptionaldropnaDrop a row whose features or target is NaN. Default false.
OptionaldurationThe horizon in index units, as in delay. Exactly one of count and duration.
OptionalindexWhose index a row carries: "features" (the default) stamps row t at the
features, holding the target over (t, t + horizon]; "target" stamps it
at the target, holding the features from a horizon before.
The horizon as a number of events. Exactly one of
countandduration.