Skip to content

Commit 586a864

Browse files
committed
Deploy Pages Version 4
1 parent c20b654 commit 586a864

7 files changed

Lines changed: 28 additions & 24 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ jobs:
7575
steps:
7676
- name: Deploy to GitHub Pages
7777
id: deployment
78-
uses: actions/deploy-pages@v2
78+
uses: actions/deploy-pages@v4

public/index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

public/post/2023/json-api-implementing-filtering/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,6 +1359,11 @@ <h3 id="further-reading">Further Reading<a hidden class="anchor" aria-hidden="tr
13591359
<li><a href="http://localhost:1313/tags/jsonapi/">JSON:API</a></li>
13601360
</ul>
13611361
<nav class="paginav">
1362+
<a class="prev" href="http://localhost:1313/post/2025/python-script-to-combine-parquet-files/">
1363+
<span class="title">« Prev</span>
1364+
<br>
1365+
<span>Python Script to Combine Parquet Files</span>
1366+
</a>
13621367
<a class="next" href="http://localhost:1313/post/2023/circular-arrays/">
13631368
<span class="title">Next »</span>
13641369
<br>

public/series/index.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,6 @@ <h1>Series</h1>
107107
</header>
108108

109109
<ul class="terms-tags">
110-
<li>
111-
<a href="http://localhost:1313/series/consul/">Consul <sup><strong><sup>1</sup></strong></sup> </a>
112-
</li>
113-
<li>
114-
<a href="http://localhost:1313/series/design-patterns/">Design Patterns <sup><strong><sup>1</sup></strong></sup> </a>
115-
</li>
116110
<li>
117111
<a href="http://localhost:1313/series/jsonapi-in-.net/">JSON:API In .NET <sup><strong><sup>7</sup></strong></sup> </a>
118112
</li>

public/sitemap.xml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
33
xmlns:xhtml="http://www.w3.org/1999/xhtml">
44
<url>
5+
<loc>http://localhost:1313/post/</loc>
6+
<lastmod>2025-08-20T00:00:00+00:00</lastmod>
7+
</url><url>
8+
<loc>http://localhost:1313/tags/python/</loc>
9+
<lastmod>2025-08-20T00:00:00+00:00</lastmod>
10+
</url><url>
11+
<loc>http://localhost:1313/post/2025/python-script-to-combine-parquet-files/</loc>
12+
<lastmod>2025-08-20T00:00:00+00:00</lastmod>
13+
</url><url>
14+
<loc>http://localhost:1313/tags/</loc>
15+
<lastmod>2025-08-20T00:00:00+00:00</lastmod>
16+
</url><url>
17+
<loc>http://localhost:1313/</loc>
18+
<lastmod>2025-08-20T00:00:00+00:00</lastmod>
19+
</url><url>
520
<loc>http://localhost:1313/tags/jsonapi/</loc>
621
<lastmod>2023-10-15T00:00:00+00:00</lastmod>
722
</url><url>
@@ -10,18 +25,9 @@
1025
</url><url>
1126
<loc>http://localhost:1313/series/jsonapi-in-.net/</loc>
1227
<lastmod>2023-10-15T00:00:00+00:00</lastmod>
13-
</url><url>
14-
<loc>http://localhost:1313/post/</loc>
15-
<lastmod>2023-10-15T00:00:00+00:00</lastmod>
1628
</url><url>
1729
<loc>http://localhost:1313/series/</loc>
1830
<lastmod>2023-10-15T00:00:00+00:00</lastmod>
19-
</url><url>
20-
<loc>http://localhost:1313/tags/</loc>
21-
<lastmod>2023-10-15T00:00:00+00:00</lastmod>
22-
</url><url>
23-
<loc>http://localhost:1313/</loc>
24-
<lastmod>2023-10-15T00:00:00+00:00</lastmod>
2531
</url><url>
2632
<loc>http://localhost:1313/tags/arrays/</loc>
2733
<lastmod>2023-08-11T00:00:00+00:00</lastmod>
@@ -37,9 +43,6 @@
3743
</url><url>
3844
<loc>http://localhost:1313/post/2023/go-multiple-return-values/</loc>
3945
<lastmod>2023-08-01T00:00:00+00:00</lastmod>
40-
</url><url>
41-
<loc>http://localhost:1313/series/consul/</loc>
42-
<lastmod>2023-05-28T00:00:00+00:00</lastmod>
4346
</url><url>
4447
<loc>http://localhost:1313/tags/consul/</loc>
4548
<lastmod>2023-05-28T00:00:00+00:00</lastmod>
@@ -115,9 +118,6 @@
115118
</url><url>
116119
<loc>http://localhost:1313/post/2022/connect-to-a-service-in-a-kubernetes-instance-hosted-on-wsl-from-windows/</loc>
117120
<lastmod>2022-12-14T00:00:00+00:00</lastmod>
118-
</url><url>
119-
<loc>http://localhost:1313/series/design-patterns/</loc>
120-
<lastmod>2022-12-04T00:00:00+00:00</lastmod>
121121
</url><url>
122122
<loc>http://localhost:1313/tags/patterns/</loc>
123123
<lastmod>2022-12-04T00:00:00+00:00</lastmod>

public/tags/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@ <h1>Tags</h1>
209209
<li>
210210
<a href="http://localhost:1313/tags/problemdetails/">ProblemDetails <sup><strong><sup>1</sup></strong></sup> </a>
211211
</li>
212+
<li>
213+
<a href="http://localhost:1313/tags/python/">Python <sup><strong><sup>1</sup></strong></sup> </a>
214+
</li>
212215
<li>
213216
<a href="http://localhost:1313/tags/query-tags/">Query Tags <sup><strong><sup>1</sup></strong></sup> </a>
214217
</li>

public/tags/python/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ <h2 class="entry-hint-parent">Python Script to Combine Parquet Files
114114
</h2>
115115
</header>
116116
<div class="entry-content">
117-
<p></p>
117+
<p>Today’s blog post is quick and simple, a script I find myself using quite often these days. It takes a collection of CSV or Parquet files and combines them into a single file.
118+
I find it useful whenever I need to query the same data across multiple files. Beats importing the individual files into a DB client like DBeaver.
119+
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 import os import pandas as pd # Directory containing your files dir_path = &#39;/Users/yunier/Downloads&#39; # Output file name output_file = os.path.join(dir_path, &#39;combined_output1.parquet&#39;) # List of files to combine (CSV and Parquet) files = [f for f in os.listdir(dir_path) if f.endswith(&#39;.csv&#39;) or f.endswith(&#39;.parquet&#39;)] # List to hold DataFrames dfs = [] for file in files: file_path = os.path.join(dir_path, file) if file.endswith(&#39;.csv&#39;): df = pd.read_csv(file_path) elif file.endswith(&#39;.parquet&#39;): df = pd.read_parquet(file_path) else: continue df[&#39;source_file&#39;] = file # Track source of data. dfs.append(df) # Combine all DataFrames if dfs: combined_df = pd.concat(dfs, ignore_index=True) combined_df.to_parquet(output_file) print(f&#39;Combined file saved to: {output_file}&#39;) else: print(&#39;No CSV or Parquet files found to combine.&#39;) </p>
118120
</div>
119121
<footer class="entry-footer"><span title='2025-08-20 00:00:00 +0000 UTC'>August 20, 2025</span>&nbsp;·&nbsp;Yunier</footer>
120122
<a class="entry-link" aria-label="post link to Python Script to Combine Parquet Files" href="http://localhost:1313/post/2025/python-script-to-combine-parquet-files/"></a>

0 commit comments

Comments
 (0)