Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

df shift one column

df['PREV_CLOSE']=df['Close'].shift(1)
df
 
PREVIOUS NEXT
Tagged: #df #shift #column
ADD COMMENT
Topic
Name
7+5 =