Guest User

Untitled

a guest
Mar 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. For i in range(12):
  2. DF['Newcol'] = np.where(DF["Index"] >0, DF["SalesMonth[i]"] * DF["price"],DF["SalesMonth[i]"])
Add Comment
Please, Sign In to add comment