You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "", line 1, in
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 102, in cut
include_lowest=include_lowest)
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 168, in _bins_to_cuts
include_lowest=include_lowest)
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 204, in _format_levels
fa, fb = fmt(a), fmt(b)
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 200, in
fmt = lambda v: _format_label(v, precision=prec)
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 247, in _format_label
return sgn + '%d' % whole
TypeError: %d format: a number is required, not numpy.float64
I'm using pandas version 0.12.0. Removing the -np.inf and np.inf eliminates the error.
The text was updated successfully, but these errors were encountered:
gives this error:
Traceback (most recent call last):
File "", line 1, in
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 102, in cut
include_lowest=include_lowest)
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 168, in _bins_to_cuts
include_lowest=include_lowest)
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 204, in _format_levels
fa, fb = fmt(a), fmt(b)
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 200, in
fmt = lambda v: _format_label(v, precision=prec)
File "/Users/weitzenfeld/anaconda/lib/python2.7/site-packages/pandas/tools/tile.py", line 247, in _format_label
return sgn + '%d' % whole
TypeError: %d format: a number is required, not numpy.float64
I'm using pandas version 0.12.0. Removing the -np.inf and np.inf eliminates the error.
The text was updated successfully, but these errors were encountered: