A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
docs: add integer-only example for number input (#2816)
eugeneebc000b3d5f7
diff --git a/marimo/_plugins/ui/_impl/input.py b/marimo/_plugins/ui/_impl/input.pyindex 0885132b9e..cb7758cad6 100644--- a/marimo/_plugins/ui/_impl/input.py+++ b/marimo/_plugins/ui/_impl/input.py@@ -57,6 +57,12 @@ class number(UIElement[Optional[Numeric], Optional[Numeric]]):number = mo.ui.number(start=1, stop=10, step=2)```+ Or for integer-only values:++ ```python+ number = mo.ui.number(step=1)+ ```+Or from a dataframe series:```python