Google Certified Professional Data Engineer

Sign Up Free or Log In to participate!

dataloader.py

code part :

row.set_cell(‘fwi’, ‘ffmc’, line[‘FFMC’])

row.set_cell(‘fwi’, ‘dmc’, line[‘DMC’])

row.set_cell(‘fwi’, ‘ffmc’, line[‘DC’])

row.set_cell(‘fwi’, ‘ffmc’, line[‘ISI’])

seams like ‘ffmc’ is set multiple times per row. Is this just a bug, or am I missing something?

1 Answers

Hi Andrius

Nice catch! That is indeed a bug in the script. It will mean that the wrong data was being loaded into some of the columns. However, it won’t affect any of the learning objectives of this lab.

I have fixed the script and uploaded the download in the resources section.

Thanks!

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?