Skip to main content
added 211 characters in body
Source Link
Jason B.
  • 70.2k
  • 3
  • 144
  • 298

Why one entity is a List Object? There are many such cases. They are in one level/one region/province.

CityData[{"Anqing", "Anhui", "China"}]
(* Entity["City", {"Anqing", "Anhui", "China"}] *)

CityData[{"Bangbu", "Anhui", "China"}]
(* {Entity["City", {"Bengbu", "Anhui", "China"}]} *)

enter image description hereenter image description here

Why one entity is a List Object? There are many such cases. They are in one level/one region/province.

enter image description here

Why one entity is a List Object? There are many such cases. They are in one level/one region/province.

CityData[{"Anqing", "Anhui", "China"}]
(* Entity["City", {"Anqing", "Anhui", "China"}] *)

CityData[{"Bangbu", "Anhui", "China"}]
(* {Entity["City", {"Bengbu", "Anhui", "China"}]} *)

enter image description here

Source Link
HyperGroups
  • 8.6k
  • 1
  • 26
  • 63

Why some result of CityData is List[entity]?

Why one entity is a List Object? There are many such cases. They are in one level/one region/province.

enter image description here