numpy/numpy — pull request #241 by piti118 (2012-03-25 21:23:49+00:00)
Title: IPython recarray auto-complete

This PR should be very very useful for those doing data analysis in iPython. When users create a recarray, they probably do not want to remember the field names, especially when the recarray comes out from automagic function like pylab's[csv2rec](http://matplotlib.sourceforge.net/api/mlab_api.html#matplotlib.mlab.csv2rec).

Here is some example (in ipython)
```python
import numpy as np
r = array([(1.5, 2.5), (3.0, 4.0), (1.0, 3.0)],dtype=[('xxx', '
```

The tab auto complete will have xxx and yyy in the list.

The changes silently ignore if it couldn't add the tab completion to ipython and it will not import IPython unnecessarily. I copied this shamelessly from [here](https://github.com/pydata/pandas/blob/master/pandas/core/frame.py#L4377).