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
I'm using Pandas 0.14.0 with Python3 on a 64bit Linux Mint. It looks like the Pandas quantile function is not working properly with the axis=1 keyword. I'm getting the same output as axis=0, as you can see below.
In [23]: import numpy as np
In [24]: import numpy as np
In [25]: df = pd.DataFrame(np.array([[1, 1], [2, 10], [3, 100], [4, 100]]),
columns=['a', 'b'])
In [26]: df
Out[26]:
a b
0 1 1
1 2 10
2 3 100
3 4 100
In [27]: df.quantile(0.5, axis=1)
Out[27]:
a 2.5
b 55.0
dtype: float64
In [28]: df.quantile(0.5)
Out[28]:
a 2.5
b 55.0
dtype: float64
The text was updated successfully, but these errors were encountered:
Hi folks,
I'm using Pandas 0.14.0 with Python3 on a 64bit Linux Mint. It looks like the Pandas
quantile
function is not working properly with theaxis=1
keyword. I'm getting the same output asaxis=0
, as you can see below.The text was updated successfully, but these errors were encountered: