Two little tweaks to that python recipe.
asn = int(customer_cone[0])--I removed the conversion to an int, since the values in the customer_cone are still strings. I use ASs as strings, mostly.
as_2_cone[asn]["size"] = customer_cone_size[1:] ==remove the [1:] . Thats a bug.
This was exactly what I needed. I just did not know about it. Foo. Thanks very much.
https://catalog.caida.org/recipe/how_to_find_an_asns_customer_cone