Skip to content

docs(table): fix single-column example in mo.ui.table docstring#10075

Open
Oishe wants to merge 1 commit into
marimo-team:mainfrom
Oishe:fix/table-single-column-docs
Open

docs(table): fix single-column example in mo.ui.table docstring#10075
Oishe wants to merge 1 commit into
marimo-team:mainfrom
Oishe:fix/table-single-column-docs

Conversation

@Oishe

@Oishe Oishe commented Jul 3, 2026

Copy link
Copy Markdown

📝 Summary

Small docstring fix in mo.ui.table. The "single column of data" example was a duplicate of the example directly above it. This changes it to a flat list of strings matching the description.

Before

        Create a table from a single column of data:
        
        ```python
        table = mo.ui.table(
            data=[
                {"first_name": "Michael", "last_name": "Scott"},
                {"first_name": "Dwight", "last_name": "Schrute"},
            ],
            label="Users",
        )
        ```

After

        Create a table from a single column of data:
        
        ```python
        table = mo.ui.table(
            data=["Michael Scott", "Dwight Schrute"],
            label="Users",
        )
        ```

📋 Pre-Review Checklist

  • (Small change, docs only) For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions.
  • Any AI generated code has been reviewed line-by-line by the human PR author, who stands by it.
  • Video or media evidence is provided for any visual changes (optional).

✅ Merge Checklist

  • I have read the contributor guidelines. I have read the CLA Document and I hereby sign the CLA.
  • Documentation has been updated where applicable, including docstrings for API changes.
  • (Small change, docs only) Tests have been added for the changes made.

The "single column of data" example duplicated the multi-column
dict example above it. Show a flat list of strings instead.
@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
marimo-docs Ready Ready Preview, Comment Jul 3, 2026 8:27pm

Request Review

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@Oishe

Oishe commented Jul 3, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

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