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


Populating the interactive namespace from numpy and matplotlib

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

In [3]:
print type_component.shape
print type_component.dtypes
print type_component


(29, 2)
component_type_id    object
name                 object
dtype: object
   component_type_id                                 name
0             CP-001                  4-bolt Tig Straight
1             CP-002                   4-bolt MJ Straight
2             CP-003           4-bolt Braze/Weld Straight
3             CP-004           2-bolt Braze/Weld Straight
4             CP-005                   2-bolt MJ Straight
5             CP-006               Braze/Weld Flange Head
6             CP-007                       MJ Flange Head
7             CP-008              4-bolt Braze/Weld Elbow
8             CP-009                     4-bolt Tig Elbow
9             CP-010              2-bolt Braze/Weld Elbow
10            CP-011                      4-bolt MJ Elbow
11            CP-012                              MJ Plug
12            CP-013                        4-bolt MJ Tee
13            CP-014                    Threaded Straight
14            CP-015                       Threaded Elbow
15            CP-016                         Threaded Tee
16            CP-017               Threaded Lateral Cross
17            CP-018                        Threaded Boss
18            CP-019                          4-bolt Boss
19            CP-020                          2-bolt Boss
20            CP-021          Free-Floating 4-bolt Spacer
21            CP-022  Free-Floating 4-bolt Captive Flange
22            CP-023                     Stems and Shells
23            CP-024                              Sleeves
24            CP-025                             ORFS Nut
25            CP-026                      JIC 37 - 45 Nut
26            CP-027                          Weld On Nut
27            CP-028                     Straight Adapter
28            CP-029                        Elbow Adapter