A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/6178 below:

div by integer 0 returning non-signed infs (and nan issue) · Issue #6178 · pandas-dev/pandas · GitHub

#6149

exposed this bug; going to update the tests (and i'll link there that show it)
initially only showed up on py2.6...but it is real

the signs of the inf under integer division are wrong.
for the most part the np.nan are preserved, not sure if this is right or not

In [1]: Series([np.nan,1,-1])/0
Out[1]: 
0    inf
1    inf
2    inf
dtype: float64

In [2]: Series([np.nan,1,-1])/0.
Out[2]: 
0    NaN
1    inf
2   -inf
dtype: float64

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4