This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import marimo | |
| __generated_with = "0.17.6" | |
| app = marimo.App(width="medium") | |
| @app.cell | |
| def _(): | |
| import marimo as mo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Example of adding new methods to Polars DataFrames using decorators and namespace accessors. | |
| Examples | |
| -------- | |
| Make a new method that doubles all values in a DataFrame: | |
| .. code-block:: python | |
| import polars as pl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # See in action with pymc-labs/pymc-marketing: https://github.com/pymc-labs/pymc-marketing/blob/main/.github/workflows/bot-prs.yml | |
| name: Bot PRs | |
| on: | |
| pull_request: | |
| types: [opened] | |
| permissions: | |
| pull-requests: write |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from yaml_base_model import YamlBaseModel | |
| from pydantic import BaseModel | |
| from typing import List | |
| from enum import Enum | |
| class Category(Enum): | |
| GREETING: str = "Greeting" | |
| CODE: str = "Code" |