Guest User

Untitled

a guest
May 8th, 2020
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. for i in range (len(data_sheet['Ticker'])-1):
  2.     if pd.isnull(data_sheet['Ticker'][i]) == True:
  3.         data_sheet['Ticker'][i]=data_sheet['Ticker'][i+1]
  4.     else:
  5.         pass
  6.  
  7.  
  8. #pd.isnull проверяет на пустоту
Add Comment
Please, Sign In to add comment