---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-55-65df979f9bd2> in <module>()
1 ###
2 resetDf=tmpDf.reset_index()#.iloc[:100]
----> 3 resetDf['Chr']=resetDf.astype('str')
4 resetDf['Pos']=resetDf['Pos'].astype(np.uint32)
5 for attrib in ['Chr','base','Run']:
/cellar/users/btsui/anaconda2/lib/python2.7/site-packages/pandas/util/_decorators.pyc in wrapper(*args, **kwargs)
89 else:
90 kwargs[new_arg_name] = new_arg_value
---> 91 return func(*args, **kwargs)
92 return wrapper
93 return _deprecate_kwarg
/cellar/users/btsui/anaconda2/lib/python2.7/site-packages/pandas/core/generic.pyc in astype(self, dtype, copy, errors, **kwargs)
3408 # else, only a single dtype is given
3409 new_data = self._data.astype(dtype=dtype, copy=copy, errors=errors,
-> 3410 **kwargs)
3411 return self._constructor(new_data).__finalize__(self)
3412
/cellar/users/btsui/anaconda2/lib/python2.7/site-packages/pandas/core/internals.pyc in astype(self, dtype, **kwargs)
3222
3223 def astype(self, dtype, **kwargs):
-> 3224 return self.apply('astype', dtype=dtype, **kwargs)
3225
3226 def convert(self, **kwargs):
/cellar/users/btsui/anaconda2/lib/python2.7/site-packages/pandas/core/internals.pyc in apply(self, f, axes, filter, do_integrity_check, consolidate, **kwargs)
3089
3090 kwargs['mgr'] = self
-> 3091 applied = getattr(b, f)(**kwargs)
3092 result_blocks = _extend_blocks(applied, result_blocks)
3093
/cellar/users/btsui/anaconda2/lib/python2.7/site-packages/pandas/core/internals.pyc in astype(self, dtype, copy, errors, values, **kwargs)
469 def astype(self, dtype, copy=False, errors='raise', values=None, **kwargs):
470 return self._astype(dtype, copy=copy, errors=errors, values=values,
--> 471 **kwargs)
472
473 def _astype(self, dtype, copy=False, errors='raise', values=None,
/cellar/users/btsui/anaconda2/lib/python2.7/site-packages/pandas/core/internals.pyc in _astype(self, dtype, copy, errors, values, klass, mgr, raise_on_error, **kwargs)
519
520 # _astype_nansafe works fine with 1-d only
--> 521 values = astype_nansafe(values.ravel(), dtype, copy=True)
522 values = values.reshape(self.shape)
523
/cellar/users/btsui/anaconda2/lib/python2.7/site-packages/pandas/core/dtypes/cast.pyc in astype_nansafe(arr, dtype, copy)
583 return lib.astype_unicode(arr.ravel()).reshape(arr.shape)
584 elif issubclass(dtype.type, string_types):
--> 585 return lib.astype_str(arr.ravel()).reshape(arr.shape)
586 elif is_datetime64_dtype(arr):
587 if dtype == object:
pandas/_libs/lib.pyx in pandas._libs.lib.astype_str()
pandas/_libs/lib.pyx in pandas._libs.lib.astype_str()
/cellar/users/btsui/anaconda2/lib/python2.7/site-packages/numpy/core/numeric.pyc in array_str(a, max_line_width, precision, suppress_small)
1833 return cName + "(%s, %sdtype=%s)" % (lst, lf, typename)
1834
-> 1835 def array_str(a, max_line_width=None, precision=None, suppress_small=None):
1836 """
1837 Return a string representation of the data in an array.
KeyboardInterrupt: