They are 2 classes of switch, Catalyst 9k should be campus network class, while Nexus is belonging to data center class.
Campus network is a term to describe the size of infrastructure. It's doesn't mean you cannot use campus network switch on data centre. Depending on your requirement (E.g. throughput, scalability, budget...etc) to choose your equipment.