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

Feat: add display settings #1672

Merged
merged 2 commits into from
Nov 9, 2021
Merged

Feat: add display settings #1672

merged 2 commits into from
Nov 9, 2021

Conversation

JovanVeljanoski
Copy link
Member

This PR adds the possibility for the user to control how many columns are visible when printing/displaying the dataframe. Prior to this PR, all column were always shown, resulting in show displaying when a dataframe contains thousands of columns.

The default is now 50 columns. One can modify this via

vaex.settings.display.max_columns =  20 # for example

There is an equivalent setting for the max number of rows

vaex.settings.display.max_rows =  20 # for example

Checklist:

  • Implementation
  • Unit-tests
  • Review

Example:
image

@maartenbreddels maartenbreddels merged commit 1750f65 into master Nov 9, 2021
@maartenbreddels maartenbreddels deleted the feat_display_options branch November 9, 2021 22:05
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.

2 participants