<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mark Goodwin on Medium]]></title>
        <description><![CDATA[Stories by Mark Goodwin on Medium]]></description>
        <link>https://medium.com/@Mark-Goodwin?source=rss-f494d3c75cd8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*W1jBzzuDibzil-y96w2_2Q.jpeg</url>
            <title>Stories by Mark Goodwin on Medium</title>
            <link>https://medium.com/@Mark-Goodwin?source=rss-f494d3c75cd8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 13:00:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Mark-Goodwin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Ep 4: Pandas — The bear necessities]]></title>
            <link>https://medium.com/@Mark-Goodwin/ep-4-pandas-the-bear-necessities-4eebde92ebba?source=rss-f494d3c75cd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/4eebde92ebba</guid>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Mark Goodwin]]></dc:creator>
            <pubDate>Wed, 04 Jun 2025 20:18:37 GMT</pubDate>
            <atom:updated>2025-06-04T20:18:37.903Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tRWxY2A0CNZcoeIGM-46hw.png" /></figure><h3><strong>Ep 4: Pandas — The bear necessities</strong></h3><p><strong>The unspoken truth of data-centric work is that you spend 90% of your time tidying the data, 5% analyzing it, and 5% communicating it.</strong></p><p>So when I started working with Pandas — the default python library for data cleansing, manipulation and analysis — I knew it was worth investing time in getting good, in the same way it was important to become proficient at Excel when I started as an actuary.</p><p>I was quietly confident that I would pick it up quickly, having becoming a professional data wrangler in previous roles. I already knew “what” needed to be done to make data usable — removing duplicates, fixing inconsistent data labels, checking for outliers, STRIPPING HIDDEN SPACES (I’ve punched monitors because of these!) — I just needed to learn “how” to do it in python.</p><p>So imagine my disappointment when I found myself staring glassy-eyed at code that used parentheses and square brackets like they were going out of style. Tell me this doesn’t look hideous at first glance.</p><pre>result = df[df[‘city’].isin([‘NY’, ‘SF’]) &amp; df[‘passed’]][[‘name’, ‘score’]]</pre><p>Vile. The syntax here wasn’t intuitive to me at all. But my brain loves a puzzle, so rather than letting my eyes gloss over indecipherable code, I ripped it apart, bit by bit:</p><ul><li>Why do we repeat <em>df</em> inside and outside the bracket?</li><li>Is there a standard order of operations with functions like this?</li><li><strong><em>Is this the most efficient way to do this?</em></strong></li></ul><p>I ask Jibbity (my name for Chat GPT) this last question a lot. My take on the data science job market is that entry-level jobs are hard to find. Most roles require a PhD, some will stoop to allow Masters, but I’ve seen zero that only require a Bachelors. They want <em>x</em> number of years of experience, or a degree in DS, CS or a very closely related field. The point is, if I want to get hired I need to code like a seasoned pro not a rookie. Asking “Is this the best way to do this?” has been the key to learning industry best practices from the get go.</p><p>Anyway, slowly but surely my brain tuned in to panda-speak. It’s a really cool feeling when strings of letters and symbols that once meant very little start to read like plain English. I feel the same part of my brain that stores my French and German activating when I write code now. Fun!</p><h4>Coding blind</h4><p>It didn’t take long for me to get over my fear of not being able to “see” all the data, like you can in Excel. It was an irrational fear — data sets can be hundreds of thousands of rows long, you can’t possibly check for errors visually. If you spend enough time in Excel (which I did) you can start to develop a sixth sense about things that “look off”. Like Lyra and her alethiometer, or the Macro Data Refinement team in Severance, it’s possible to see features in data without fully focusing on them. It’s handy, but it’s not a reliable skill.</p><p>Pandas is different. You can see the data if you want, but most of the time you’re kind of “feeling” it. Actually, it’s more like sonar. You ping queries at your data and see what comes back. You don’t get the full picture all in one go, you get little snippets one question at a time:</p><ul><li>How much data do I have?</li><li>Do I have duplicate rows?</li><li>What percentage of the data is missing?</li><li>What data type is it? etc.</li></ul><p>And you respond one feature at a time — the shape of your data is <em>x</em>, drop duplicate rows, fill or drop missing data, convert data types etc. When you’re done, you run your checks and get as much confirmation as you can that your data set is clean and ready to use.</p><p>When I worked at EY, standard Excel practice was to set up a series of checks so that others could see that you had validated the data. Does the sum of your processed data match the sum of your raw data? Do you have the same number of entries? That sort of thing. Colleagues would expect to see a neat row of zeros in cells shaded yellow to prove it. I haven’t seen much of that in other people’s python code, but I decided to keep it up for myself because I’m a dork like that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/396/1*pRUd2lez7wcvuGNdTyjMrQ.png" /><figcaption>A holdover from Excel work, I sprinkle simple checks like this throughout my script</figcaption></figure><p>This feels corny to admit, but I enjoy data cleansing. There’s something satisfying about turning a messy data set into something neat and safe to use. I feel the same way about cooking. I love doing my mis-en-place. I love a tidy set of deli cups with prepped ingredients ready to go. If becoming a data scientist doesn’t work out maybe I’ll start a Youtube channel about coding and cooking. I could make Lambda Chops or Spaghetti Booleanaise or…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4eebde92ebba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ep 3: SQL — Query eye for the data guy]]></title>
            <link>https://medium.com/@Mark-Goodwin/ep-3-sql-query-eye-for-the-data-guy-e31e4388fd37?source=rss-f494d3c75cd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e31e4388fd37</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[career-development]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[sql]]></category>
            <dc:creator><![CDATA[Mark Goodwin]]></dc:creator>
            <pubDate>Fri, 16 May 2025 15:55:30 GMT</pubDate>
            <atom:updated>2025-05-16T15:55:30.218Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qnqPIDW6RdNvcybY0OICYQ.png" /></figure><h3>Ep 3: SQL — Query eye for the data guy</h3><p>Today we’re talking about SQL and the sleeper hit it’s become in my studies. It’s hard to get too excited about a language designed to interact with databases, but it’s won me over for a couple of reasons:</p><ol><li>It doesn’t have too many bells and whistles. Whatever you need to do in SQL, you have relatively few tools with which to do it. A software engineer friend of mine was having issues with a SQL query the other day. I assumed it would be way beyond me, but, as a way to gauge my own progress, I took a quick look. I didn’t solve the issue before he did, but there wasn’t a single part of his code that I didn’t understand. According to him, this was a query of average complexity. Once you’re comfortable with the core components of SQL, you’re well equipped to tackle a broad swath of tasks.</li><li>The scope of SQL is limited. This is a natural consequence of having a limited number of tools, and one which makes SQL a manageable skillset to add to your arsenal. The only thing you’re ever doing is managing and manipulating data in a database. It may take a while to understand “how” to do something with SQL, but “what” you’re doing is always super obvious. On days where working with Python feels like you’re fighting for your life in the Matrix, SQL feels like you’re playing Tetris in the backseat of your mum’s car.</li></ol><p>This week’s milestone was definitely taking a look at my friend’s problem. I did an online SQL course a few months ago and since then I’ve been doing a handful of problems on Leetcode almost every day. I’ve gotten comfortable with window functions, CTEs, complex joins and other advanced SQL techniques. My friend’s problem was complicated in the sense that the database was large and had lots of confusingly named fields, but the code boiled down to a simple SELECT FROM WHERE query. According to him, the majority of SQL used in the workplace can be that straightforward.</p><p>I’ll keep practicing but it’s exciting to think that I’m match-ready with SQL. The finish line of becoming a data scientist just got a little bit closer!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e31e4388fd37" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ep 2: The joys of basket weaving]]></title>
            <link>https://medium.com/@Mark-Goodwin/ep-2-the-joys-of-basket-weaving-e0da350f022f?source=rss-f494d3c75cd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0da350f022f</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[job-search]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[career-development]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Mark Goodwin]]></dc:creator>
            <pubDate>Mon, 05 May 2025 15:39:54 GMT</pubDate>
            <atom:updated>2025-05-06T02:02:01.696Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ykr1n61m_Chkzhkh8l3CYQ.png" /></figure><p>In the previous episode I talked about how there are three things you need to work as a data scientist:</p><ol><li><strong>Math</strong></li><li><strong>Business skills</strong></li><li><strong>Coding</strong></li></ol><p>There are aspects of my Maths Masters that I haven’t used in a while but, in the words of Celine Dion, it’s all coming back to me now. My business skills have been in constant use for 17 years, even on my sabbatical during which time I engaged local politicians and formed a coalition of small businesses to take on what were essentially commercial slumlords in my home town. Coding is the area I’m working on the most because it’s a tool I haven’t needed in my career until now.</p><p>Part of what makes learning something new so daunting — especially if you’re teaching yourself like I am — is that when you start out you don’t know what you don’t know. For a while you’re groping around in the dark trying to find the edges. In another episode I’ll talk about how I’ve used Chat GPT as my coding tutor, but for now I’ll just say that one of the most helpful things it’s done for me is give me a top down view of data science and the coding landscape I need to conquer. It’s turned unknown unknowns into known unknowns. This is particularly useful for Python because it really is the same as any spoken language in the sense that you can use it to do virtually anything. Narrowing it down to what I need for data science — as opposed to, say, web development or robotics — made this endeavor manageable.</p><p>“But what about the basket weaving?” I hear you cry. “We came here for the baskets, damn it!” Don’t worry, I’m getting to that.</p><p>About a month ago I passed a milestone that I didn’t have on my roadmap. I don’t remember what I was trying to do specifically, but it was something new and more complex than anything I’d done before. I asked Jibbity (that’s my pet name for Chat GPT), it gave me the function I needed, and I realized I knew exactly how to use it — its parameters, where it should live within my code, how it interacted with existing code, boom! This new knowledge slotted into place much more easily than before.</p><p>Easter eggs were on my mind that day. I had just concluded that Easter egg chocolate tastes better than regular chocolate because it’s thinner (if you disagree, it’s fisticuffs at dawn) and so this was the analogy that came to mind when I noted how much easier assimilating that newest piece of code was:</p><blockquote><strong>“You’ve still got lots of eggs to collect, but you’ve finished weaving the basket.”</strong></blockquote><p>I know. Profound, right? Mind. Blown. 🤯</p><p>Jokes aside, this was a really big deal. Every new thing I’ve learned since then has been catalogued so much quicker than before because the containers are already built in my mind. I’m a tidy person by nature and a common phrase about keeping a physical space organized is “a place for everything and everything in its place”. Loops, comprehensions, dictionaries/sets/tuples, functions/methods/attributes…these were the disparate threads I used to weave a basket into which I can now place “eggs” like data cleansing, EDA, visualization, forecasting, clustering, neural networks and more.</p><p>I’ve been so buoyed since passing that milestone because now I know I can handle unknown situations, coding-wise. I know how cringe this sounds but I love thinking on my feet. I’ve needed to be scrappy and resourceful for the majority of my career. After spending five years as a consultant at EY, my second actuarial role was at a brand new insurance company where I was the sole actuary for twoyears. I had support, but I had to just…figure stuff out. Every. Single. Day. Same with the two startup businesses I worked on, and especially true of the political campaign I ran.</p><p>Part of writing this blog was to promote myself to employers. So if you’ve made it this far and are in need of a new team member with a scrappy, this-is-new-but-let’s-figure-it-out kinda attitude, a mathematical brain, a growing proficiency with SQL and Python, a love of thin chocolate, and a sexy new basket, <a href="https://www.linkedin.com/in/mark-goodwin-a3b52622/">hit me up on LinkedIn</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0da350f022f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ep 1: The 3 pillars of data science]]></title>
            <link>https://medium.com/@Mark-Goodwin/ep-1-the-3-pillars-of-data-science-a75036add5bf?source=rss-f494d3c75cd8------2</link>
            <guid isPermaLink="false">https://medium.com/p/a75036add5bf</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[career-development]]></category>
            <dc:creator><![CDATA[Mark Goodwin]]></dc:creator>
            <pubDate>Thu, 24 Apr 2025 19:14:59 GMT</pubDate>
            <atom:updated>2025-04-24T21:49:15.550Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3HiI-iPGbabuN5V2fZRG_g.png" /></figure><p>If I’ve learned anything over the past 17 years — during which time I’ve worked as a teacher, an actuary, a startup business owner and a political campaign manager — it’s that people don’t like to read. Weird way to start a blog, but it’s true. So let’s get to the point.</p><p>What’s this blog about? I want to work as a data scientist. I have some of the necessary skills (a Masters degree in maths, years of experience in adjacent fields) but I’m missing a couple of things. This blog is a way for me to connect to people in the data science community, share my experiences and prove to employers (and to myself) that I have what it takes to make it in this increasingly crowded field.</p><p>But what <em>do</em> you need to be a data scientist? I’ve narrowed it down to 3 things:</p><ol><li><strong>Math(s) skills.</strong> You can keep the ‘s’ if you’re British like me (born and raised), omit it if you’re American like me (naturalized). Data science has evolved far enough that you can survive without knowing the math behind it all, but that isn’t my style. When I was a child, I cried when we learned about Pythagoras at school because none of the people in my life, including my teacher, could explain *why* a²+ b² = c². It’s a blessing and a curse, but I need to understand things down to their DNA before I consider them “learned”. It’s a personal preference and a professional safeguard. You can’t lead a team if you only have a surface-level understanding of what you’re asking them to do. There’s also the risk that something goes wrong in a “black box”. If you don’t know what’s happening inside, you don’t stand a chance of fixing it. Data science has more black boxes than a Boeing factory, hence, math.</li><li><strong>Coding.</strong> The language of the universe is math. The languages of data science are SQL and Python (for me anyway, other people may prefer R). This is where I have the most work to do. My former actuarial colleagues and I talk about this a lot — in some ways we became actuaries at the wrong time. Too soon for Python to be part of our regular training (it hadn’t permeated the industry much in 2010) and too late for us to have progressed so far into our careers that we would never need to learn. So here I am at 39, reminding myself for the millionth time the difference between a dictionary, a list and tuple. This blog is, in part, a way for me to chronicle my coding progress, particularly with Python. You can study this stuff forever because there’s no end to what you can do with it. When there’s literally no finish line, it’s easy to forget how far you’ve come.</li><li><strong>Business skills.</strong> This is a vague term that I’m using to mean “the ability to take all the math and the coding and the black-boxiness of it all, and translate it into something tangible that other people can understand and use”. Not to toot my own horn, but this is the pillar of data science I am the most proficient in. I love the math and I’m learning to love the coding, but they are just the tools to do *something*. What that something is depends on the business. Maybe it’s finding a way to optimize a public transport network, or to minimize customer churn. Whatever it is, the data scientists don’t do it alone. Their technical work needs to be communicated to a non-technical audience, something I absolutely loved doing as a teacher and an actuary. Data scientists also need to balance the need for accuracy and complexity in their models with business restraints, be they time or resources. You can’t just nerd out and have nothing to show for it. I love working as part of a team, even better when that team is diverse and multifunctional. I like learning from others, I like teaching others. At heart I am a communicator…writing a blog whose opening statement was “no one likes to read”. Crushing it!</li></ol><p>On that note, I’ll wrap up. I’m excited to continue this blog. I get to chronicle my journey and share my experiences, I hope it will keep me accountable and force me to keep making progress, and I get to come up with puns for the titles. A worthwhile endeavor, even if no one reads it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a75036add5bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>