-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: The quantile method throws exceptions in some scenarios #7157
Comments
Thanks @DiDeoxy! I can reproduce your errors. |
anmyachev
added
External
Pull requests and issues from people who do not regularly contribute to modin
and removed
Triage 🩹
Issues that need triage
labels
Apr 9, 2024
anmyachev
added a commit
to anmyachev/modin
that referenced
this issue
Apr 9, 2024
…eric_only=True' Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
7 tasks
anmyachev
added a commit
to anmyachev/modin
that referenced
this issue
Apr 10, 2024
…eric_only=True' Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
anmyachev
added a commit
to anmyachev/modin
that referenced
this issue
Apr 11, 2024
…eric_only=True' Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
YarShev
added a commit
that referenced
this issue
Apr 11, 2024
…e` (#7160) Co-authored-by: Iaroslav Igoshev <Poolliver868@mail.ru> Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
@DiDeoxy a fix for this bug will be available in a new release scheduled for next week |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Modin version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest released version of Modin.
I have confirmed this bug exists on the main branch of Modin. (In order to do this you can follow this guide.)
Reproducible Example
Issue Description
Several scenarios cause various errors with the quantile method. The errors are primarily caused by the kind of values supplied to the
q
parameter but thenumeric_only
parameter also plays a role. The specific scenarios leading to errors are highlighted in the reproducible code example above.Expected Behavior
I expect when a sequence of floats are provided to the
q
parameter of thequantile
method for aDataFrame
type object to be returned. Instead a brokenSeries
object can be returned in certain scenarios (see above), by broken I mean trying to use it cause anException
to occur, which one depends on how you try to use it.Additionally when a single float value is supplied and the
numeric_only
parameter is set toTrue
and non-numeric columns are present the expectedSeries
object is returned but it is still broken.Error Logs
Installed Versions
INSTALLED VERSIONS
commit : bdc79c146c2e32f2cab629be240f01658cfb6cc2
python : 3.10.13.final.0
python-bits : 64
OS : Darwin
OS-release : 22.6.0
Version : Darwin Kernel Version 22.6.0: Wed Jul 5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000
machine : arm64
processor : arm
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 2.2.1
numpy : 1.26.4
pytz : 2024.1
dateutil : 2.9.0.post0
setuptools : 69.2.0
pip : None
Cython : None
pytest : 8.1.1
hypothesis : None
sphinx : 7.2.6
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.1.3
IPython : None
pandas_datareader : None
adbc-driver-postgresql: None
adbc-driver-sqlite : None
bs4 : None
bottleneck : None
dataframe-api-compat : None
fastparquet : None
fsspec : 2024.3.1
gcsfs : None
matplotlib : None
numba : 0.59.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 15.0.2
pyreadstat : None
python-calamine : None
pyxlsb : None
s3fs : None
scipy : 1.13.0
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
zstandard : None
tzdata : 2024.1
qtpy : None
pyqt5 : None
The text was updated successfully, but these errors were encountered: