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.10.7" | |
| app = marimo.App(width="medium") | |
| @app.cell | |
| def _(div, mo, result, run_button, style1, style2, style3, style_editors): | |
| if run_button.value: | |
| result[0] = div.render(style1.value, style2.value, style3.value) |
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
| import numpy as np | |
| import pandas as pd | |
| def stats(self, cols, funcs=None): | |
| """ | |
| Like describe(), but allows custom stats and outputs flat columns like 'x-50', 'x-mean', etc. | |
| Parameters | |
| ---------- | |
| cols : list | None |
OlderNewer