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
{{ message }}
Repository navigation
Unable to suppress pandas warnings from analytics module #1696
Describe the bug
The Python SDK outputs a warning for not having pandas on import even if I'm not using the analytics feature, and it's not straightforward to suppress the warnings from just the sagemaker module.
To reproduce
Without having pandas, do
import sagemaker
You'll see a warning WARNING:root:pandas failed to import. Analytics features will be impaired or broken.
Expected behavior
A clear and concise description of what you expected to happen.
Ideally, I only see this warning when I'm trying to use the analytics feature.
As an added measure, I should be able to suppress it by doing
Activity
laurenyu commentedon Jul 23, 2020
I've addressed this in #1745. thanks for bringing it to our attention!
laurenyu commentedon Jul 23, 2020
released in v1.71.0
carlowahlstedt commentedon Feb 18, 2021
I'm seeing this issue.
To reproduce:
where
test_container.pyis: