<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Spark on Samarthya</title><link>https://samarthya.me/tags/spark/</link><description>Recent content in Spark on Samarthya</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© Samarthya 2018-2026. All rights reserved.</copyright><lastBuildDate>Thu, 09 Oct 2025 12:00:00 +0000</lastBuildDate><atom:link href="https://samarthya.me/tags/spark/index.xml" rel="self" type="application/rss+xml"/><item><title>Beyond the `DataFrame`: How Parquet and Arrow Turbocharge PySpark 🚀</title><link>https://samarthya.me/posts/beyond-the-dataframe-how-parquet-and-arrow-turbocharge-pyspark/</link><pubDate>Thu, 09 Oct 2025 12:00:00 +0000</pubDate><guid>https://samarthya.me/posts/beyond-the-dataframe-how-parquet-and-arrow-turbocharge-pyspark/</guid><description>&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="auto"&#10; alt=""&#10; width="600"&#10; height="600"&#10; src="https://samarthya.me/posts/beyond-the-dataframe-how-parquet-and-arrow-turbocharge-pyspark/arrow-2.png"&#10; srcset="https://samarthya.me/posts/beyond-the-dataframe-how-parquet-and-arrow-turbocharge-pyspark/arrow-2.png 800w, https://samarthya.me/posts/beyond-the-dataframe-how-parquet-and-arrow-turbocharge-pyspark/arrow-2.png 1280w"&#10; sizes="(min-width: 768px) 50vw, 65vw"&#10; data-zoom-src="https://samarthya.me/posts/beyond-the-dataframe-how-parquet-and-arrow-turbocharge-pyspark/arrow-2.png"&gt;&lt;/figure&gt;&#10;&lt;p&gt;In my &lt;a href="https://samarthya.me/posts/pyspark-vs-pandas-choosing-right/" &gt;last post&lt;/a&gt;, we explored the divide between &lt;strong&gt;Pandas&lt;/strong&gt; (single machine) and &lt;strong&gt;PySpark&lt;/strong&gt; (distributed computing).&lt;/p&gt;&#10;&lt;blockquote&gt;&lt;p&gt;The conclusion: for massive datasets, PySpark is the clear winner.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>PySpark vs Pandas: Choosing Right! 🐍</title><link>https://samarthya.me/posts/pyspark-vs-pandas-choosing-right/</link><pubDate>Thu, 09 Oct 2025 12:00:00 +0000</pubDate><guid>https://samarthya.me/posts/pyspark-vs-pandas-choosing-right/</guid><description>&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="auto"&#10; alt=""&#10; width="600"&#10; height="600"&#10; src="https://samarthya.me/posts/pyspark-vs-pandas-choosing-right/pysp-1.png"&#10; srcset="https://samarthya.me/posts/pyspark-vs-pandas-choosing-right/pysp-1.png 800w, https://samarthya.me/posts/pyspark-vs-pandas-choosing-right/pysp-1.png 1280w"&#10; sizes="(min-width: 768px) 50vw, 65vw"&#10; data-zoom-src="https://samarthya.me/posts/pyspark-vs-pandas-choosing-right/pysp-1.png"&gt;&lt;/figure&gt;&#10;&lt;p&gt;As another project wraps up, bringing with it the bittersweet relief of an almost-closed chapter (and, yes, a few too many late-night coding sessions), I found myself reflecting on the tools that got us through.&lt;/p&gt;</description></item><item><title>Apache Spark</title><link>https://samarthya.me/posts/apache-spark/</link><pubDate>Sun, 14 Sep 2025 12:00:00 +0000</pubDate><guid>https://samarthya.me/posts/apache-spark/</guid><description>&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="auto"&#10; alt=""&#10; width="600"&#10; height="600"&#10; src="https://samarthya.me/posts/apache-spark/big-data.png"&#10; srcset="https://samarthya.me/posts/apache-spark/big-data.png 800w, https://samarthya.me/posts/apache-spark/big-data.png 1280w"&#10; sizes="(min-width: 768px) 50vw, 65vw"&#10; data-zoom-src="https://samarthya.me/posts/apache-spark/big-data.png"&gt;&lt;/figure&gt;&#10;&lt;p&gt;So as part of the academic curriculum we just started re-exploring Apache Spark. It’s been one of the technology that I had long lost touch with. Ironical but true, in this age of big data and speed Spark was left somewhere way behind in my past projects working for Pitney Bowes.&lt;/p&gt;</description></item></channel></rss>