Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How can I shift one period forward a custom factor.

Hi im trying to move one period forward the result of a simple custom factor, with the pandas shift attribute, but when i´m trying to run at the pipeline, it shows up with the next error:

'numpy.ndarray' object has no attribute 'shift'

What other way there is for place in the pipeline the factor one period forward.

Thank you