This
mydata = ['AirTemp', ' 71.73']
is a list
First item in the list, mydata[0] = 'AirTemp'
Second item in the list, mydata [1] = '71.73'
This is a dictionary:
mydata = { 'AirTemp': '71.73'}
mydata['AirTemp'] = '71.73'
There is no mydata['71.73']
See more here: https://www.geeksforgeeks.org/differenc ... in-python/
mydata = ['AirTemp', ' 71.73']
is a list
First item in the list, mydata[0] = 'AirTemp'
Second item in the list, mydata [1] = '71.73'
This is a dictionary:
mydata = { 'AirTemp': '71.73'}
mydata['AirTemp'] = '71.73'
There is no mydata['71.73']
See more here: https://www.geeksforgeeks.org/differenc ... in-python/
Statistics: Posted by memjr — Tue Apr 16, 2024 5:36 pm