Kansas is a U.S. state in the Midwest. Louisville is a city in the state of Kentucky.
You can compare Louisville to Kansas cities (e.g., Wichita, Kansas City) or Kansas to Kentucky (states), but not a state to a city.