This repository was archived by the owner on Dec 2, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-17
lines changed
Expand file tree Collapse file tree 2 files changed +7
-17
lines changed Original file line number Diff line number Diff line change 55 branches : [master]
66 paths :
77 - ' data_science_tools/polars_vs_pandas.py' # Only trigger on this specific file
8+ - ' .github/workflows/publish-marimo.yml' # Trigger on changes to this file
89
910jobs :
1011 build :
@@ -24,18 +25,18 @@ jobs:
2425 python -m pip install --upgrade pip
2526 pip install marimo
2627 # Install any other dependencies needed by your notebooks
27- pip install pandas polars pyarrow
28+ pip install pandas polars
2829
2930 - name : Export marimo notebook
3031 run : |
31- mkdir -p marimo_notebooks/
32+ mkdir -p marimo_notebooks/data_science_tools/polars_vs_pandas
3233 # Export the specific notebook
33- marimo export html-wasm "data_science_tools/polars_vs_pandas.py" --output marimo_notebooks/ --mode edit
34+ marimo export html-wasm "data_science_tools/polars_vs_pandas.py" --output marimo_notebooks/data_science_tools/polars_vs_pandas --mode edit
3435
3536 - name : 📦 Upload Pages Artifact
3637 uses : actions/upload-pages-artifact@v3
3738 with :
38- path : marimo_notebooks
39+ path : marimo_notebooks/data_science_tools/polars_vs_pandas
3940
4041 deploy :
4142 needs : build
5455 uses : actions/deploy-pages@v4
5556 with :
5657 artifact_name : github-pages
58+ path : marimo_notebooks/data_science_tools/polars_vs_pandas
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def _():
1313
1414@app .cell (hide_code = True )
1515def _ (mo ):
16- mo .md (r"""# Polars vs. Pandas: A Multi-Core Alternative for DataFrames""" )
16+ mo .md (r"""# Polars vs. Pandas: A Fast, Multi-Core Alternative for DataFrames""" )
1717 return
1818
1919
@@ -225,17 +225,5 @@ def _(df_pd_1, df_pl_1):
225225 return
226226
227227
228- @app .cell
229- def _ (mo ):
230- mo .md (r"""## Final Thoughts""" )
231- return
232-
233-
234- @app .cell
235- def _ (df_pl_1 ):
236- df_pd_2 = df_pl_1 .to_pandas ()
237- return (df_pd_2 ,)
238-
239-
240228if __name__ == "__main__" :
241229 app .run ()
You can’t perform that action at this time.
0 commit comments