Thanks, Sven, I forgot about this dot in y.time!
Best,
Artur
Am 01.12.2016 um 15:20 schrieb Sven Schreiber:
Am 01.12.2016 um 13:07 schrieb Artur T.:
>
> I want to get rid of the "time" variable from a list. This works fine
> out of a function but not within a function:
> y -= time
Inside a function you have to specify the list from which the series is
supposed to come. 'time' is no exception here:
y -= y.time
will work (have just tested it).
The exception is rather 'const', because your expression
y -= const
works although it's not given like 'y.const'. I guess the reason is that
const has special properties, always being present in the dataset,
having index 0 etc.
cheers,
sven