Glossary: pandas Beyond the Basics
nunique
Also written: .nunique(), distinct count
Counts the different values in a column or group. Use it to count orders rather than order lines, since an order has one line per SKU.
Glossary: pandas Beyond the Basics
Also written: .nunique(), distinct count
Counts the different values in a column or group. Use it to count orders rather than order lines, since an order has one line per SKU.