Skip to content

fix: respect config option to disable progress bar in pandas summary #1755

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sapountzis
Copy link

Fix: Respect config option to disable progress bar in pandas summary

Summary

This PR fixes an issue where the progress_bar configuration option in the Settings object was not being respected when running the pandas summary. Previously, the progress bar would always be shown, even if progress_bar was set to False.

Changes

  • Pass the disable=not config.progress_bar argument to tqdm in pandas_get_series_descriptions, ensuring that the progress bar can be disabled via configuration.

Motivation

This change allows users to suppress the progress bar when running profiling in environments where output should be minimal (e.g., automated scripts, CI pipelines, or Jupyter notebooks).

Additional Notes

  • No breaking changes introduced.
  • The default behavior remains unchanged; the progress bar is shown unless explicitly disabled in the config.

Let me know if any further changes are needed!

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

Successfully merging this pull request may close these issues.

1 participant