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

Add to docs that can now control number of columns to display in dataframe in R client in Jupyter notebook #8309

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 2 comments
Assignees

Comments

@exalate-issue-sync
Copy link

New feature was added to control number of columns when displaying a dataframe in R: https://0xdata.atlassian.net/browse/PUBDEV-7136

Add info in Docs:
All rows of a data frame in a Jupyter notebook with an R kernel can be seen by setting up options repr.matrix.max.rows and repr.matrix.max.cols

i.e. like this:

options(repr.matrix.max.rows=600, repr.matrix.max.cols=200)

The defaults are 60 and 20.

@exalate-issue-sync
Copy link
Author

Angela Bartz commented: [~accountid:5d1185d4f46aa30c271c7cc6], can you update the http://docs.h2o.ai/h2o/latest-stable/h2o-r/docs/reference/h2o.head.html topic to include comments describing what each example does? And please branch off of rel-yu.

For example:
{code}

Return the first 6 rows and 200 columns

h2o.head(x, n = 6L, m = 200L, ...)
{code}
etc.

Then add another example:
{code}

For Jupyter notebook with an R kernel,

view all rows of a data frame

options(repr.matrix.max.rows=600, repr.matrix.max.cols=200)
{code}

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-7328
Assignee: hannah.tillman
Reporter: Neema Mashayekhi
State: Resolved
Fix Version: 3.28.1.1
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#4378

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

No branches or pull requests

2 participants