def series_to_yaml_safe(series):
    index = series.index.to_native_types(quoting=True)
    values = series.values.tolist()

    return {i: v for i, v in itertools.izip(index, values)}
The main entry point for ``cleanup_cloud_resources``.
dataset/ETHPy150Open UDST/urbansim/urbansim/utils/yamlio.py/series_to_yaml_safe--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/admin/cleanup.py/cleanup_cloud_resources_main