Data structures for statistical computing in Python - SciPy Conferences
Data structures for statistical computing in Python - SciPy Conferences
Data structures for statistical computing in Python - SciPy Conferences
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Categorical data and “Group by”<br />
Often want to compute descriptive stats on data given group designations:<br />
>>> s >>> cats<br />
<strong>in</strong>dustry<br />
AAPL 0.044 AAPL TECH<br />
IBM 0.050 IBM TECH<br />
SAP 0.101 SAP TECH<br />
GOOG 0.113 GOOG TECH<br />
C 0.138 C FIN<br />
SCGLY 0.037 SCGLY FIN<br />
BAR 0.200 BAR FIN<br />
DB 0.281 DB FIN<br />
VW 0.040 VW AUTO<br />
RNO AUTO<br />
F AUTO<br />
TM AUTO<br />
McK<strong>in</strong>ney () Statistical <strong>Data</strong> Structures <strong>in</strong> <strong>Python</strong> <strong>SciPy</strong> 2010 19 / 31