In [1]:
%pylab inline
import pandas as pd


Populating the interactive namespace from numpy and matplotlib

In [2]:
components = pd.read_csv('./competition_data/components.csv')

In [4]:
print components.shape
print components.dtypes
print components.head(10)


(2048, 3)
component_id         object
name                 object
component_type_id    object
dtype: object
  component_id             name component_type_id
0         9999            OTHER             OTHER
1       C-0001           SLEEVE            CP-024
2       C-0002           SLEEVE            CP-024
3       C-0003    SLEEVE-FLARED            CP-024
4       C-0004              NUT            CP-026
5       C-0005      ADAPTER-STR            CP-028
6       C-0006      ADAPTER-STR            CP-028
7       C-0007  CONNECTOR-FLARE            CP-014
8       C-0008             BOSS            CP-018
9       C-0009             BOSS            CP-018