L1/Result/result.pydantic.dict()

Just a note to mention that in Lesson 1, Result cell, when we run result.pydantic.dict(), ‘milestones’ is showing lists of indexes as the values for ‘tasks’ instead of lists with the task names, which also affects the corresponding Data Frame output:

‘milestones’: [{‘milestone_name’: ‘Project Requirements Defined’,
‘tasks’: [‘1’]},
{‘milestone_name’: ‘Design Complete’,
‘tasks’: [‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘11’]},
{‘milestone_name’: ‘Development Complete’,
‘tasks’: [‘3’, ‘4’, ‘5’, ‘6’, ‘8’, ‘9’, ‘10’]},
{‘milestone_name’: ‘Testing Complete’, ‘tasks’: [‘12’]},
{‘milestone_name’: ‘Website Launched’, ‘tasks’: [‘13’]}]}

@mubsi, a short course issue here.

1 Like