Skip to content

pandas xs

Take a cross-section at one level of a MultiIndex.

Below are the 26 Bamboo Weekly exercises that use xs on real-world data — try each one, then study the worked solution.

Part of the Pandas Methods Index. See also practice by skill.