Skip to content
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

Verbose #244

Open
lqrz opened this issue Mar 24, 2021 · 3 comments
Open

Verbose #244

lqrz opened this issue Mar 24, 2021 · 3 comments
Assignees

Comments

@lqrz
Copy link

lqrz commented Mar 24, 2021

Hi, I think it iwould be a good idea to be able to parameterise the logger (i.e. a verbose param).

I am currently using a DataFrameMapper on a Dask DataFrame of hundreds of columns, and thus every time I call the transform() function, I get an output of +100 * n_partitions lines, due to this line.

Cheers!

Environment info
python==3.7.9
sklearn-pandas==2.1.0

@ragrawal ragrawal self-assigned this Mar 27, 2021
@ragrawal
Copy link
Collaborator

hi @lqrz
Thanks for reporting the issue. I agree. Let me fix it in the next release.

@ragrawal
Copy link
Collaborator

ragrawal commented Mar 31, 2021

Meanwhile, let me know if existing solution to control log message works for your not. You can explicit set logging level for sklearn_pandas using the following code

import logging
logging.getLogger('sklearn_pandas').setLevel(logging.CRITICAL)

@lqrz
Copy link
Author

lqrz commented Apr 6, 2021

Hi @ragrawal, it's a nice workaround. It does work indeed!
Thanks again for taking care of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants