Skip to content

Commit 400b98c

Browse files
Merge pull request #121 from sogaiu/some-more-empty-line-population
Add whitespace before some lists
2 parents cb42d56 + b007816 commit 400b98c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/scittle/pyodide/pyodide_integration.clj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
;; ## The Vision
4141

4242
;; Imagine being able to:
43+
4344
;; - Write Python data science code in your browser
4445
;; - Visualize data with matplotlib without any backend
4546
;; - Process data with pandas entirely client-side
@@ -51,6 +52,7 @@
5152
;; ## What is Pyodide?
5253

5354
;; [Pyodide](https://pyodide.org/) is a Python distribution compiled to WebAssembly that runs entirely in the browser. It includes:
55+
5456
;; - Full Python 3.11 interpreter
5557
;; - NumPy, Pandas, Matplotlib, SciPy
5658
;; - 100+ scientific packages
@@ -64,6 +66,7 @@
6466
;; Let's start with the simplest possible example - loading Pyodide and running Python code.
6567

6668
;; The demo below shows a basic Python REPL where you can:
69+
6770
;; - Load Pyodide from CDN
6871
;; - Execute Python expressions
6972
;; - See results instantly
@@ -116,6 +119,7 @@
116119
;; Now for the exciting part - creating beautiful data visualizations with Python's matplotlib library!
117120

118121
;; The demo below captures matplotlib plots as base64 PNG images and displays them inline. This technique:
122+
119123
;; - Uses matplotlib's non-interactive 'Agg' backend
120124
;; - Captures plots as PNG data
121125
;; - Displays high-quality visualizations
@@ -136,12 +140,14 @@
136140
;; ### Why Pandas in the Browser?
137141

138142
;; Pandas is the standard tool for data analysis in Python. With Pyodide, you can:
143+
139144
;; - Load and manipulate tabular data
140145
;; - Perform statistical analysis
141146
;; - Filter, group, and transform datasets
142147
;; - All without a backend server!
143148

144149
;; The demo includes examples of:
150+
145151
;; - **Creating DataFrames** - Build tables from Python dictionaries
146152
;; - **Statistical Analysis** - Summary statistics and correlations
147153
;; - **Data Transformations** - Filter, calculate, sort, and rank
@@ -162,6 +168,7 @@
162168
;; ### Why Combine Them?
163169

164170
;; In real-world data science, you rarely use just one tool. You:
171+
165172
;; 1. **Load and clean data** with Pandas
166173
;; 2. **Analyze and transform** to extract insights
167174
;; 3. **Visualize results** with Matplotlib
@@ -170,25 +177,29 @@
170177
;; ### Complete Workflow Examples
171178

172179
;; **Sales Trend Analysis:**
180+
173181
;; - Load monthly sales data into DataFrame
174182
;; - Calculate profit and margins
175183
;; - Generate statistical summary
176184
;; - Create trend lines and bar charts
177185
;; - Display both tables and visualizations
178186

179187
;; **Product Performance:**
188+
180189
;; - Analyze product sales across quarters
181190
;; - Aggregate by product category
182191
;; - Compare units sold and revenue
183192
;; - Show horizontal and vertical bar charts
184193

185194
;; **Regional Breakdown:**
195+
186196
;; - Multi-dimensional analysis by region and quarter
187197
;; - Create pivot tables
188198
;; - Generate 4 different chart types
189199
;; - Display comprehensive dashboard
190200

191201
;; **Time Series Analysis:**
202+
192203
;; - 90 days of daily sales data
193204
;; - Calculate 7-day and 30-day moving averages
194205
;; - Aggregate to monthly totals
@@ -224,6 +235,7 @@
224235
;; ## Next Steps
225236

226237
;; Explore more advanced features:
238+
227239
;; - Advanced pandas operations (joins, pivots, time series)
228240
;; - Interactive data exploration with dynamic filtering
229241
;; - Machine learning with scikit-learn

0 commit comments

Comments
 (0)