Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. xls = pd.ExcelFile("C:\Users\Documents\Interview_data.xlsm")
  2.  
  3. words = []
  4.  
  5. interviewlen = len(xls.sheet_names)
  6.  
  7. for i in range(0,interviewlen):
  8. sheet = xls.parse(i)
  9. column = sheet.iloc[:,1].to_string(na_rep='',index=False)
  10. print(xls.sheet_names[i])
  11. print(column)
  12.  
  13. The quick brown fox jumped over the fence and ...
  14. Each of the business areas must conform is the...
  15. His heart is in the right place but in order f...
  16.  
  17. The quick brown fox jumped over the fence and then she fell
  18. Each of the business areas must conform is they are going to survive
  19. His heart is in the right place but in order for the business to thrive we must make change
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement