<?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 Peter Griffin on Medium]]></title>
        <description><![CDATA[Stories by Peter Griffin on Medium]]></description>
        <link>https://medium.com/@peter.griffin?source=rss-30a82cbd3aa5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*kjja-e3WykcDz-S2</url>
            <title>Stories by Peter Griffin on Medium</title>
            <link>https://medium.com/@peter.griffin?source=rss-30a82cbd3aa5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 04:25:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@peter.griffin/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[How Adapting Quickly With Python Expedited Success With Geo-mapping]]></title>
            <link>https://medium.com/technology-earnin/how-adapting-quickly-with-python-expedited-success-with-geo-mapping-d0cd42eade2a?source=rss-30a82cbd3aa5------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0cd42eade2a</guid>
            <category><![CDATA[geo-mapping]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Peter Griffin]]></dc:creator>
            <pubDate>Wed, 19 Sep 2018 17:24:46 GMT</pubDate>
            <atom:updated>2018-09-19T17:24:46.582Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3bMXokXTCErW6KLL-iUOeQ.jpeg" /></figure><p>Earnin embraces innovative processes and new ways of doing things, which is a welcomed change from some businesses and organizations where you have to use proprietary coding languages or are stuck using legacy platforms.</p><p>Recently I embarked on a project to analyze how different <a href="https://www.earnin.com/blog/bridging-biweekly-pay-gap">pay cycles were affecting Americans</a>. Part of that report required geo-mapping, so I’m sharing our success in case you find yourself needing to visualize business data with location elements incorporated into it.</p><p>Our team set out to learn more about how we could help our customers across the country, so needed to analyze aggregated geographic data by county and state to better understand pay cycles by work location.</p><p>I began investigating Python and found a way that it could help expedite the process. At first, I worried that learning a new tool or language would cost more time than it was worth, but our team quickly got on board with using a new tool and supporting this updated process. Python offers a package called <a href="https://github.com/geopandas/geopandas">geopandas</a>, that allows you to file and count all latitude/longitude points in a specific area. So rather than having to write a whole program to do that one thing, instead it was just a single line of code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xshas9Wj8vzHXmqxhXxklg.png" /><figcaption>Map created using the geopandas and folium Python packages.</figcaption></figure><p>Friends recommended learning Python but I’d hesitated because it’s usually most effective to learn a new language when you have a real project to apply it to, as opposed to just noodling around. This project was an excellent test case and Earnin’s patience with new skill development has already paid off. Here are some learnings from our project that you can use as well to jump into using Python for your next geo-mapping project:</p><ol><li>Finding a similar example, if possible, to build upon and tweak is a great way to learn. In my case, one of our data scientists had already written a tiny snippet of code which seeded my understanding of how to combine latitude and longitude data with <a href="https://github.com/python-visualization/folium">colored maps</a>.</li><li>For getting familiar with the basics, I recommend a repository called <a href="https://github.com/jakevdp/WhirlwindTourOfPython"><em>A Whirlwind Tour of Python</em></a>, which is aimed at users who already know a programming language. It gives a quick, high-level overview of the language, which keeps you from digging through an entire book or resource and actually showcases how Python works.</li><li>Leverage a coworker or colleague to get someone who knows Python to help you improve the code once you’ve written it. This is key to deepening your understanding of the current project as well as broadening the set of problem-solving methods you can deploy on future projects and helps fine-tune your Python skills along the way.</li></ol><p>Python can also be used on other projects outside of geographically related datasets, machine learning being one of the most commonly touted applications, and it is well worth finding an excuse to get started using it.</p><p>It was great to see how the Earnin team seeks out new tools and encourages people to invest in skills that make us better. Openness to adopting new tools is a key for growth and working with different people to find an efficient solution benefits your entire team and company.</p><p><em>—</em></p><p><em>Cover Photo by </em><a href="https://unsplash.com/photos/dWwZBcjw3GE?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"><em>Thor Alvis</em></a><em> on </em><a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText"><em>Unsplash</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0cd42eade2a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/technology-earnin/how-adapting-quickly-with-python-expedited-success-with-geo-mapping-d0cd42eade2a">How Adapting Quickly With Python Expedited Success With Geo-mapping</a> was originally published in <a href="https://medium.com/technology-earnin">Tech @ Earnin</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>