The three US cities with the worst site visitors are:
1. Boston, MA (164 hours)
2. Washington, DC (155 hours)
3. Chicago, IL (138 hours)
Convert
The three US cities with the worst site visitors are:
1. Boston, MA (164 hours)
2. Washington, DC (155 hours)
3. Chicago, IL (138 hours)
Convert the checklist
The three US cities with the worst site visitors are:
1. Boston, MA (164 hours)
2. Washington, DC (155 hours)
3. Chicago, IL (138 hours)
Convert the checklist to JSONL file
The three US cities with the worst site visitors are:
1. Boston, MA (164 hours)
2. Washington, DC (155 hours)
3. Chicago, IL (138 hours)
Convert the checklist to JSONL file with rank
The three US cities with the worst site visitors are:
1. Boston, MA (164 hours)
2. Washington, DC (155 hours)
3. Chicago, IL (138 hours)
Convert the checklist to JSONL file with rank, metropolis
The three US cities with the worst site visitors are:
1. Boston, MA (164 hours)
2. Washington, DC (155 hours)
3. Chicago, IL (138 hours)
Convert the checklist to JSONL file with rank, metropolis, state
The three US cities with the worst site visitors are:
1. Boston, MA (164 hours)
2. Washington, DC (155 hours)
3. Chicago, IL (138 hours)
Convert the checklist to JSONL file with rank, metropolis, state, and hours
The three US cities with the worst site visitors are:
1. Boston, MA (164 hours)
2. Washington, DC (155 hours)
3. Chicago, IL (138 hours)
Convert the checklist to JSONL file with rank, metropolis, state, and hours
[
{"rank": 1, "city": "Boston", "state": "MA", "hours": 164},
{"rank": 2, "city": "Washington DC", "state": "DC", "hours": 155},
{"rank": 3, "city": "Chicago", "state": "IL", "hours": 138}
]
[
{"rank": 1, "city": "Boston", "state": "MA", "hours": 164},
{"rank": 2, "city": "Washington DC", "state": "DC", "hours": 155},
{"rank": 3, "city": "Chicago", "state": "IL", "hours": 138}
]
Take away
[
{"rank": 1, "city": "Boston", "state": "MA", "hours": 164},
{"rank": 2, "city": "Washington DC", "state": "DC", "hours": 155},
{"rank": 3, "city": "Chicago", "state": "IL", "hours": 138}
]
Take away rank
[
{"rank": 1, "city": "Boston", "state": "MA", "hours": 164},
{"rank": 2, "city": "Washington DC", "state": "DC", "hours": 155},
{"rank": 3, "city": "Chicago", "state": "IL", "hours": 138}
]
Take away rank and write out
[
{"rank": 1, "city": "Boston", "state": "MA", "hours": 164},
{"rank": 2, "city": "Washington DC", "state": "DC", "hours": 155},
{"rank": 3, "city": "Chicago", "state": "IL", "hours": 138}
]
Take away rank and write out full state names
[
{"rank": 1, "city": "Boston", "state": "MA", "hours": 164},
{"rank": 2, "city": "Washington DC", "state": "DC", "hours": 155},
{"rank": 3, "city": "Chicago", "state": "IL", "hours": 138}
]
Take away rank and write out full state names
[
{"city": "Boston", "state": "Massachusetts", "hours": 164},
{"city": "Washington DC", "state": "District of Columbia", "hours": 155},
{"city": "Chicago", "state": "Illinois", "hours": 138}
]
[
{"city": "Boston", "state": "Massachusetts", "hours": 164},
{"city": "Washington DC", "state": "District of Columbia", "hours": 155},
{"city": "Chicago", "state": "Illinois", "hours": 138}
]
Flip
[
{"city": "Boston", "state": "Massachusetts", "hours": 164},
{"city": "Washington DC", "state": "District of Columbia", "hours": 155},
{"city": "Chicago", "state": "Illinois", "hours": 138}
]
Flip into YAML
[
{"city": "Boston", "state": "Massachusetts", "hours": 164},
{"city": "Washington DC", "state": "District of Columbia", "hours": 155},
{"city": "Chicago", "state": "Illinois", "hours": 138}
]
Flip into YAML and return
[
{"city": "Boston", "state": "Massachusetts", "hours": 164},
{"city": "Washington DC", "state": "District of Columbia", "hours": 155},
{"city": "Chicago", "state": "Illinois", "hours": 138}
]
Flip into YAML and return from a perform
[
{"city": "Boston", "state": "Massachusetts", "hours": 164},
{"city": "Washington DC", "state": "District of Columbia", "hours": 155},
{"city": "Chicago", "state": "Illinois", "hours": 138}
]
Flip into YAML and return from a perform known as get_yaml
[
{"city": "Boston", "state": "Massachusetts", "hours": 164},
{"city": "Washington DC", "state": "District of Columbia", "hours": 155},
{"city": "Chicago", "state": "Illinois", "hours": 138}
]
Flip into YAML and return from a perform known as get_yaml
def get_yaml():
return """
- metropolis: Boston
state: Massachusetts
hours: 164
- metropolis: Washington DC
state: District of Columbia
hours: 155
- metropolis: Chicago
state: Illinois
hours: 138
"""