I have the following code using Pandas and a for loop to iterate through the index of the DF and produce strings of each row in a dictionary:
 for i in zip(d['Series'].ix[i], d['Working Title'].ix[i], df['Time'].ix[i], d['Created By'].ix[i], t['strdate'].ix[i]):
...     event = {
...             'summary': d['Series'].ix[i],
...             'location': '8965 Lindblade St.',
...             'description': d['Working Title'].ix[i] + ' at ' + df['Time'].ix[i] + ' by ' + d['Created By'].ix[i],
...              'start': {
...                      'date': t['strdate'].ix[i],
...                     'timeZone': 'America/Los_Angeles',
...                     },
...             'end': {
...                     'date': t['strdate'].ix[i],
...                     'timeZone': 'America/Los_Angeles',
...                     }
...             }
Is this a bad way of doing this? Is there a better way to be able to dynamically create the dictionary object, event, and pass it through a for loop function?
Thanks! Chris
 
    