Python Forum
Very basic help - python & Excel
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Very basic help - python & Excel
#6
Thanks for the help and pointers - much appreciated. I am still working through through the datacamp lessons but it takes time.

In parallel I'm now starting to get somewhere with my project but failing to convert the row array value into an integer:

# select all populated rows and iterate through		
for row in sheet.iter_rows(min_col=1, min_row=1, max_col=2, max_row=sheet.max_row):
	# occur = int(row[1].value) 
	if row[1].value == 1:
		pass
	else:
		print(row[0].value)		
Reply


Messages In This Thread
Very basic help - python & Excel - by ankey - Sep-17-2018, 03:39 PM
RE: Very basic help - python & Excel - by Larz60+ - Sep-17-2018, 06:50 PM
RE: Very basic help - python & Excel - by ankey - Sep-17-2018, 08:11 PM
RE: Very basic help - python & Excel - by Larz60+ - Sep-17-2018, 08:40 PM
RE: Very basic help - python & Excel - by volcano63 - Sep-17-2018, 08:48 PM
RE: Very basic help - python & Excel - by ankey - Sep-18-2018, 08:16 AM
RE: Very basic help - python & Excel - by seco - Feb-21-2019, 05:00 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020