<?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[Atha Data Science - Medium]]></title>
        <description><![CDATA[In Sanskrit, each auspicious moment of undertaking begins with the word “atha” — it means now, right now, only after everything that led to this exact moment. This blog is where you can follow my undertaking of the journey to becoming a Data Scientist. - Medium]]></description>
        <link>https://medium.com/atha-data-science?source=rss----d54ea6cc5f8e---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Atha Data Science - Medium</title>
            <link>https://medium.com/atha-data-science?source=rss----d54ea6cc5f8e---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 23:40:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/atha-data-science" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Python Environments, Oh My!]]></title>
            <link>https://medium.com/atha-data-science/python-environments-oh-my-a4c5b00084f4?source=rss----d54ea6cc5f8e---4</link>
            <guid isPermaLink="false">https://medium.com/p/a4c5b00084f4</guid>
            <dc:creator><![CDATA[Anterra Kennedy]]></dc:creator>
            <pubDate>Mon, 20 Jul 2020 15:21:45 GMT</pubDate>
            <atom:updated>2020-07-20T15:21:45.282Z</atom:updated>
            <content:encoded><![CDATA[<h3>June 22nd, 2020</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/0*S-lv_l7uO88EwHb_.png" /></figure><p>(image credit: xkcd)</p><p>Okay okay, maybe its not quite that bad; but I did run into my first version of this craziness!</p><p>I ran into some brief difficulty trying to execute NumPy within PyCharm; I had up until this point not needed access to NumPy in my learning of introductory Python, and had been using virtual environments for each project I created. When trying to access NumPy from a virtual env, Pycharm insisted I did not have NumPy on my machine. I did in fact have it, installed as part of Anaconda.</p><p>I thought I could navigate the issue by switching my interpreter from a virtual environment to my system Python, which until recently had been 3.8. However, when I downloaded Anaconda, it also installed Python 3.7. Switching Pycharm to 3.8, unsurprisingly, still did not have any packages like NumPy available. Then I recalled that I had earlier made 3.7 my default Python per the Metis program’s recommendation. So, I switched Pycharm’s default interpreter to Python 3.7… and still no NumPy! I then tried what Pycharm had listed as my Anaconda environment Python as my interpreter, thinking surely NumPy must be in the same downloaded environment… to yet again no avail.</p><p>Ultimately, I looked up the location of my default python from terminal (it was ~opt/anaconda3/bin/python3.7), set that path as my default interpreter manually inside Pycharm (it was not offering this particular system Python as an option on its own), and then, finally, I could access the the NumPy modules I so desired. How convoluted!</p><p>This all comes from, like the image above suggests, using different package managers at different times — homebrew, pip, anaconda, etc. — to all install different things… I uninstalled Python 3.8 (both versions, as apparently I had 2 at different locations urs/local/bin/python3.8 and /Library/Frameworks/python.framework/Version/3.8/bin/python3 as well…) for simplicity’s sake, and now have 2 copies of 3.7 on my machine (the anaconda env listed above, and another local at /usr/local/bin/python3.7). I think this will keep things straight for now, and I *believe* these are the only versions of Python remaining on my machine, but, I see how easy it can be to get tangled.</p><p>Any more senior data scientists with recommendations on how to keep all this straight, or your advice on best practice, I’d love to hear from you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a4c5b00084f4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/atha-data-science/python-environments-oh-my-a4c5b00084f4">Python Environments, Oh My!</a> was originally published in <a href="https://medium.com/atha-data-science">Atha Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Foobar Update and Adventures in Optimization]]></title>
            <link>https://medium.com/atha-data-science/foobar-update-and-adventures-in-optimization-ba162fce9ed2?source=rss----d54ea6cc5f8e---4</link>
            <guid isPermaLink="false">https://medium.com/p/ba162fce9ed2</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Anterra Kennedy]]></dc:creator>
            <pubDate>Tue, 14 Jul 2020 18:40:33 GMT</pubDate>
            <atom:updated>2020-07-14T19:19:47.563Z</atom:updated>
            <content:encoded><![CDATA[<h3>June 11th, 2020</h3><p>So I’m back, writing from the other side of my time inside Google’s foo.bar, and ready to reflect on what a transformative learning experience that was.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dU1gKOspspc-X9TCGmMwxw.jpeg" /></figure><p>Ultimately, this go around, I made it through the first 2 (of 5) levels. And honestly, I have no hard feelings about that at all — I began teaching myself Python two months ago, and I was able to engage with and pass several of the hardest coding challenges I’ve ever encountered, <em>published by Google</em>, and had an absolute blast doing it. So let’s review!</p><p>Level 1 I described in my last post, but will elaborate on to say that my first (“brute force”) approach to the problem did not utilize list comprehension at first, but rather for-loops and iterative appends to lists. Indeed, I had only just been introduced to list comprehension and this challenge was my first real application of it. The problem itself had to do with generating and accessing a very long concatenated string of prime numbers. Version 1 was definitely slower, and the dramatic improvement of performance seen by implementing list comprehension was a really rewarding and tangible way of learning the benefit of this method.</p><p>In the second level, optimization would become integral. Level 2 consisted of 2 challenges, the first of which involved accepting as arguments numbers of any base from 1 to 9, performing specified operations on them until the output values ended up in a repeating loop, and determining how many repeating values in that loop the output was alternating between. I solved this problem in about 3 hours, and with great efficiency, and was quite proud of my solution and ability to pass all the test cases.</p><p>Level 2’s second challenge proved a great deal more difficult. It was an interesting and tricky take on creating a sort of inverted Floyd’s triangle, but incrementing by 1 along the diagonal instead of row by row — which causes all of the triangular numbers up to (I determined to be sufficient) two times value of the index you are trying to access to end up along the “x-axis”. Creating this triangle proved to be quite the mental challenge, and when it was said and done I had done it with <strong>4 completely different approaches.</strong></p><p>The key difficulty with the problem was that the challenge wanted me to access which number was located at certain “x” and “y” coordinates, meaning find what number when appending incrementally larger numbers on the diagonal ended up in a certain row and column. Essentially, it wanted a structure which could be indexed in 2 directions, with indices of up to 100,000,000 each. And in all of my iterative designs, I had it working! Except, it was each time failing just 2 hidden test cases, which I imagine must have been very large numbers, since every version of my program would time out with very large inputs. Why you ask? Well, that all has to do of course with optimization…</p><p>My various designs included: first creating a Floyd triangle comprised of lists of numbers, then indexing those lists in such a way to build the desired triangle by rearranging the original triangle. Appending values to a set of lists and then appending to a <em>second </em>set of lists, definitely rough on the computational time and power. But, this brute force method was at least passing all but those 2 test cases, so from this framework I went about optimizing.</p><p>Other designs to try to mitigate the time-out-inducing processing complexity included:</p><ul><li>First appending to a dictionary with a for loop and then using dictionary comprehension to first make the Floyd’s and then the manipulated Floyd’s triangle, thinking that the use of both comprehension and dictionaries (must faster than lists since then can be accessed by keys instead of indexed!) would improve computation time</li><li>Using list comprehension followed by dictionary comprehension to do the same</li><li>Using only dictionaries to make the two consecutive triangles.</li><li>Trying to implement a generator to remember where in the first triangle creation the program was, to create the second from that place directly, without having to save all the numbers to memory (unsuccessful).</li><li>Using a double ended deque with a fixed length as a sliding window to try to do the same (unsuccessful).</li><li>Using numpy arrays (but I don’t really know anything about these yet and couldn’t get them to work).</li><li>Then finally shifting approaches <em>completely</em> and figuring out a mathematical formula to create the sequence of numbers in the inverted target triangle directly <em>without</em> first creating a Floyd triangle. The thinking was that I could hopefully cut the computation time in half (and it was a very tricky formula to derive!!) I created the inverted triangle directly, two ways: via two loops of appends to dictionaries, and another way with list comprehension.</li></ul><p><strong><em>They all failed </em></strong>the 2 hidden test cases.</p><p>I don’t even know for sure that it was because of computation time. I guess there’s no way of knowing what test cases I was failing as they were hidden, but none of the above would process fast enough to yield an answer for very large input numbers, so I assume it was still complexity issues.</p><p>But I’m not mad! I approached this problem <em>so</em> many different ways, and learned so much. In the future, I’m sure I’ll have more tricks up my sleeve that I can try, and get this to work.</p><p>Just after running out the clock on the 72 hour timer for the challenge, encountered this rather apt quote somewhere buried in a stack-exchange, on the subject of large data sets… “[they shouldn’t be a problem unless] naive use makes many small appends.” Well, call me naive — but only for now. I knew I needed to eliminate the repetitious appends which were sending my big(O) through the roof — I just didn’t know what to replace them with. And that’s exactly why I’m continuing to improve and build my skills.</p><p>I surprised myself with how very passionate about this I am — I was coding, continuously, about 12 to 15 hours a day, and doing so excitedly — which only affirms that I’m doing the right thing. And I proved to myself how many different ways I’m able to reshape and look at a problem, bringing in new creativity when I hit a wall. Last, I learned just how much new info I’m able to absorb and implement effectively on a pretty immediate basis. This was a huge moment of growth for me as a python developer.</p><p>I’ll be keeping the various entries on my github for reference: <a href="https://github.com/anterra/google-foobar/tree/master">https://github.com/anterra/google-foobar/tree/master</a> (don’t worry, Google randomly generates numerous versions for each applicant, so your ability to cheat off of these is very low. Plus, foobar is about the learning experience! Try it on your own 😉). I can’t wait to come back to the foo.bar someday in the future with more experience under my belt!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba162fce9ed2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/atha-data-science/foobar-update-and-adventures-in-optimization-ba162fce9ed2">Foobar Update and Adventures in Optimization</a> was originally published in <a href="https://medium.com/atha-data-science">Atha Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google FooBar]]></title>
            <link>https://medium.com/atha-data-science/google-foobar-626655339010?source=rss----d54ea6cc5f8e---4</link>
            <guid isPermaLink="false">https://medium.com/p/626655339010</guid>
            <dc:creator><![CDATA[Anterra Kennedy]]></dc:creator>
            <pubDate>Sat, 11 Jul 2020 07:08:03 GMT</pubDate>
            <atom:updated>2020-07-10T18:32:13.277Z</atom:updated>
            <content:encoded><![CDATA[<h3>June 6th, 2020</h3><p>There I was, studying for and completing my Metis program pre-requisite materials to be completed before the program begins later this month, when an innocent enough Google search to try to get a more in-depth understanding of list comprehensions triggered a Google browser easter egg I’d never heard of before — Google foo.bar. The usual page of search results tilted forward into the screen, revealing an enticing and mysterious invitation… of course I accepted, dead curious as I was. I’m loaded into a shell environment and given a sci-fi themed prompt asking for my help in completing a challenge, should I accept. At this point, not knowing anything about this, I go ahead and Google what this easter egg might be — and lo and behold its a quite reputable back-door invitation into interviewing to work at Google itself! Apparently, since of course they have your entire search history, they extend the invitation when your searches seem indicate proficiency or literacy in the types of skills they’re looking to hire for, and gets ‘triggered’ by certain search terms like my looking for list comprehension information.</p><p>There are 5 levels to the challenges, and I’ve just spent the last day completing the first. It involved prime numbers and — go figure — list comprehension (optionally, of course — it could surely have been completed with nested for loops and in fact that was my first approach as proof of concept). It was so fun!! Not terribly challenging but with several steps to work and think through. It served as a really nice refresher on math and number theory, showed me the advantages (processing power and runtime) of list comprehensions over for-loops in a really tangible way, and allowed me the chance to take a highly hands-on approach to more difficult programming and apply the concepts I’ve been learning to what feels more like the real world. At the very least it’s been a huge motivator! More updates to come…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=626655339010" width="1" height="1" alt=""><hr><p><a href="https://medium.com/atha-data-science/google-foobar-626655339010">Google FooBar</a> was originally published in <a href="https://medium.com/atha-data-science">Atha Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[✨ Imminent Data Scientist ✨]]></title>
            <link>https://medium.com/atha-data-science/imminent-data-scientist-51e1444059cc?source=rss----d54ea6cc5f8e---4</link>
            <guid isPermaLink="false">https://medium.com/p/51e1444059cc</guid>
            <dc:creator><![CDATA[Anterra Kennedy]]></dc:creator>
            <pubDate>Sat, 11 Jul 2020 07:07:34 GMT</pubDate>
            <atom:updated>2020-07-10T18:31:50.633Z</atom:updated>
            <content:encoded><![CDATA[<h3>May 21st, 2020</h3><p>Long time no talk! I’ll explain why… it’s official, I’ve been accepted at Metis!</p><p>Been a bit pre-occupied with the application to update here, but it ultimately paid off, and now I’d like to reflect. The application process was three rounds — a traditional application where I wrote a couple of short essays about my background, my passion for data science, and my aptitude for the Metis program; a technical challenge which involved answering questions in statistics, probability, linear algebra, calculus, and data interpretation, solving 5 python coding challenges similar to those outlined in the last post, and writing up a project proposal for a data science passion project you might complete as your final project in the program; and finally a video call interview with a data scientist/Metis alumni, to discuss further my background, do some live statistics problem solving, and brainstorm further around the project proposal.</p><p>First of all, I think this whole process was amazing preparation for what technical job interviews will entail, so I’m grateful to have had the experience. Each portion of the application went really well and I felt confident in each.</p><p>I had spent the weeks prior to the application not only studying and practicing both python and mathematics (just needed some refreshing since university), but coming up with and fleshing out a project idea that I’m actually really excited about and proud of, and would potentially want to scale in to an actual application after the program. In short, my idea is to create a data-driven yoga sequencing application intended for yoga teachers. It would automatically generate unique and complete yoga sequences that would guarantee safe and effective transitions, leading up to and out of any peak posture chosen by the user. Preliminary research has indicated that a neural network and bi-directional LSTM modeling, along with a Markov chain, could be used to this end. I’m sure I’ll share more as I begin development on this program, but I’ll leave it at that for now.</p><p>Now that I’m officially in, everything feels so surreal, and tangible. I am actually on a fast-track toward the career and future that I’ve dreamed of. It’s been a real shift in my mental state and attitude — it feeling so real and immediate. I made a twitter and followed some of the lead data scientists at top companies, to start expanding my network, but more so to start being exposed to their opinions, best practices, and articles about innovation in the field they share. Already I’ve gained so much new information and gotten more of a feel for what other data scientists’ lives are like!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51e1444059cc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/atha-data-science/imminent-data-scientist-51e1444059cc">✨ Imminent Data Scientist ✨</a> was originally published in <a href="https://medium.com/atha-data-science">Atha Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Coding Challenges]]></title>
            <link>https://medium.com/atha-data-science/coding-challenges-67c635a81e28?source=rss----d54ea6cc5f8e---4</link>
            <guid isPermaLink="false">https://medium.com/p/67c635a81e28</guid>
            <dc:creator><![CDATA[Anterra Kennedy]]></dc:creator>
            <pubDate>Sat, 11 Jul 2020 07:07:18 GMT</pubDate>
            <atom:updated>2020-07-08T05:30:50.521Z</atom:updated>
            <content:encoded><![CDATA[<h3>May 3rd, 2020</h3><p>Yesterday and this morning I engaged in my first online coding challenges. And both challenging and fun they were!</p><p>As part of the Metis Program application process, I took an application readiness assessment, which involved a coding challenge hosted on HackerRank. It was my first online technical assessment of this kind, and my first time coding outside of PyCharm. While the actual problem to be solved did not strike me as terribly challenging, there are several reasons why I did not succeed on the assessment. Ultimately, I ran out of time — but primarily the time I did have was eaten up not so much by figuring out how to solve the problem, but in struggling with the unfamiliarity of the HackerRank environment. Finally I realized that they had pre-defined a __main__ method which used several test cases as input, and automatically loaded them into my functions and printed the results. As such, I did not have the ability to flow the input through different methods as I had expected (their method dictated what would happen to the input), nor view my output to debug how my program was working. By the time I figured all this out, and made changes to the __main__ method to complement my code, my time had expired.</p><p>Although I was disappointed to not have performed better on the pre-test, I didn’t see this as a setback, but a learning opportunity I was really grateful for. Undoubtedly in my job searches as a data scientist there will be countless technical challenges on a number of different platforms, each one with different parameters I’ll have to familiarize myself with. And I was thankful to have dealt with this only on the pre-test!</p><p>So, to best prepare myself for the actual technical assessment that would be coming up in the application, I decided to explore the HackerRank platform and learn how to interact with their coding environment, by trying out the Python certification test. And, actually — I passed! Not only did I get to reach a comfortable understanding of how their default __main__ method and test case entry worked, but I got to solve a challenging couple of problems, and did so successfully enough to be certified in Python! I didn’t expect to pass necessarily as I’ve only been practicing a couple of weeks, but just wanted to practice in the environment. So it was absolutely affirming and empowering to know that my practice had paid off and gained me a real, applicable and demonstrable skill. My approach this time was to actually create a program to answer the prompt in Pycharm first, in order to be able to monitor the output, see how it was actually functioning, and make incremental changes and improvements until it worked as intended against my own input. Then I copied that into the HackerRank code area and changed it so it would accept their input. And it was effective!</p><p>At this point, I feel prepared and excited for the actual application’s challenges.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67c635a81e28" width="1" height="1" alt=""><hr><p><a href="https://medium.com/atha-data-science/coding-challenges-67c635a81e28">Coding Challenges</a> was originally published in <a href="https://medium.com/atha-data-science">Atha Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[#Why I’m Excited About Data Science!]]></title>
            <link>https://medium.com/atha-data-science/why-im-excited-about-data-science-6993a91f40a?source=rss----d54ea6cc5f8e---4</link>
            <guid isPermaLink="false">https://medium.com/p/6993a91f40a</guid>
            <dc:creator><![CDATA[Anterra Kennedy]]></dc:creator>
            <pubDate>Wed, 08 Jul 2020 05:29:00 GMT</pubDate>
            <atom:updated>2020-07-08T05:32:55.336Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why I’m Excited About Data Science!</h3><h3>April 28th, 2020</h3><p>I wanted to take a moment to get down just why I’m so passionate and excited about the field of Data Science itself, how powerful I think it is to solve problems and create change, and why I think it will suit me so well.</p><p>But first, some other exciting things! First of all I turned 25 this week. It feels wonderful and surreal that in the past several weeks my life direction has manifested so clearly before me upon entering the latter half of my twenties; I feel trusting and confident in it, and so inspired!</p><p>Second, I bought a MacBook Pro! I’ve never used a Mac in my life, but already in just several weeks of beginning to learn Python on my (older) Windows laptop, I could see difficulty in integrating Python into a Windows environment, experienced a lack of command line capability and ease, and furthermore picked up on a clear preference toward Mac amongst the data science community. I was in need of a new laptop anyway, so I decided to make the switch so I can used to the new OS from the beginning of my new career’s journey, rather than getting any farther along in Windows and then needing to switch later on and hence being more out of my element and having more difficulty adapting. I love it! The learning curve wasn’t too steep, both the hardware and software are so gorgeous and the UI is really intuitive and pleasing!</p><p>Third, I discovered the Metis Data Science Bootcamp Program, and have made the decision to apply. The program is robust, intensive and comprehensive, and I know it would elevate my skills and prepare me for a career in data science in a way far beyond what I’d be able to do if entirely self-taught, and at a far more accelerated pace. Since I’ve already been so motivated and productive just self-teaching, I know I can channel this passion into the structure of the course. And furthermore because the course is so advanced, all of the self-led background research will prepare me for success in the program. Having identified this program as a goal has re-contextualized what I thought possible for myself on this path, reinvigorated my passion, to dream bigger.</p><p>Which brings us to data science and how excited I am to be entering this field.</p><p>I find data science to be so ubiquitous, and unbelievably powerful in its versatility. Data is indeed everywhere, and for all the times throughout various research projects I’ve been involved in I’ve felt there must be a more efficient and comprehensive method to look at the big picture and draw more meaningful conclusions — there is! And what’s more, data science is always evolving and adapting to the ever-changing needs of data solutions. I couldn’t be more excited to be entering a field where I can once obtain mastery, but also never stop learning. It also feels like the perfect middle ground between programming and science or engineering, where I can innovate and problem solve, yet my “laboratory” is my own laptop and program, the simplicity and power of which I love.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6993a91f40a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/atha-data-science/why-im-excited-about-data-science-6993a91f40a">#Why I’m Excited About Data Science!</a> was originally published in <a href="https://medium.com/atha-data-science">Atha Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Homework Assignment]]></title>
            <link>https://medium.com/atha-data-science/a-homework-assignment-cdce304fa8b?source=rss----d54ea6cc5f8e---4</link>
            <guid isPermaLink="false">https://medium.com/p/cdce304fa8b</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Anterra Kennedy]]></dc:creator>
            <pubDate>Wed, 08 Jul 2020 05:27:59 GMT</pubDate>
            <atom:updated>2020-07-08T05:27:59.323Z</atom:updated>
            <content:encoded><![CDATA[<h3>April 23rd, 2020</h3><p>You never really know what you know (or don’t) until you have to do it yourself. That was demonstrated yesterday when a ‘homework’ assignment was posed by the textbook I’m working through, and I got to actually problem solve and write a program myself, instead of simply learn how various features of Python work through studying example programs.</p><p>The previous example had created a program which would check whether or not a user inputted string was a palindrome. The homework assignment was then to make the program more robust and accurate, by making it ignore punctuation, spaces, and capital letters, such that “Rise to vote, sir” for example, would be recognized as the palindrome that it is. The completed assignment can be viewed here: <a href="https://github.com/anterra/learning-python/blob/master/input_and_output/io_input_homework.py">https://github.com/anterra/learning-python/blob/master/input_and_output/io_input_homework.py</a></p><p>In designing how I would go about this, my first plan was to create a tuple of all the forbidden special characters, then iterate over that tuple to check if each one appeared in the input string, and if so delete it.</p><p>Then I planned to do the same with a tuple of capitalized letters, and if they appeared, replace them with lowercase versions of the same. I was trying to think of how to identify what sequence number the found capital letter held within the alphabet, so I could then replace with the same letter by calling the same position number in a lowercase alphabet tuple.</p><p>Both of these plans went through a few phases of trial and error before getting vastly simplified! First, I discovered the ‘string’ module, which includes built in ‘punctuation’ and ‘ascii_lowercase’/’ascii_uppercase’ strings. Excellent! Now I need not type out every possible punctuation mark etc.</p><p>So, I iterated over the punctuation string first and used:</p><pre>text.replace(character, “”)</pre><p>to delete any punctuation marks. However, when I then returned text, it was unchanged! I realized then that I must use :</p><pre>text = text.replace(character, “”)</pre><p>to reassign the variable as the changed version of itself, not just apply the change but not store it. I also included a separate line,</p><pre>text = text.replace(“ “, “”)</pre><p>to eliminate spaces, which are not included in string.punctuation.</p><p>Even further simplification came when I discovered Python’s .lower() method. No longer did I need to try to select which letter of the alphabet needed to be replaced with a lowercase version of itself, instead I could just convert the whole input string to lowercase in one simple line.</p><p>I ran the program with the example sentence, and it returned as a palindrome! It may be a very simple program, but it allowed me to get really familiar with string methods and applying a lot of the information learned so far, as well as the process of thinking through solving a problem with Python methodically and making optimization improvements, and was very satisfying!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdce304fa8b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/atha-data-science/a-homework-assignment-cdce304fa8b">A Homework Assignment</a> was originally published in <a href="https://medium.com/atha-data-science">Atha Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zip, Struggle, and Progress]]></title>
            <link>https://medium.com/atha-data-science/zip-struggle-and-progress-c87e9e56325c?source=rss----d54ea6cc5f8e---4</link>
            <guid isPermaLink="false">https://medium.com/p/c87e9e56325c</guid>
            <dc:creator><![CDATA[Anterra Kennedy]]></dc:creator>
            <pubDate>Tue, 07 Jul 2020 03:49:15 GMT</pubDate>
            <atom:updated>2020-07-07T03:49:14.999Z</atom:updated>
            <content:encoded><![CDATA[<h3>April 18th, 2020</h3><p>Just under a week now spent learning and working in Python, and with each passing day I’m more sure this is the path for me.</p><p>A lot of new skills have been acquired and developed in the last week, and I’ve slowly become more comfortable working inside Python. Its remarkable how much being inside a program is so like being inside a complicated math or physics problem, with an understanding of all the moving parts and ability to see how they connect and hold many parts at once toward a solution, your thoughts not taking the form of english but of pure logic. I’m thriving activating that part of my brain that hasn’t been truly stimulated in a couple of years.</p><p>I established a GitHub, and learned Git from the command line to commit and push version controlled programs up to my new repository with example and practice problems in it. Part of that involved learning to create a .gitignore file so as to avoid adding my entire venv to the repository. I also had the opportunity to relearn binary.</p><p>Working through A Byte of Python, I encountered my first challenge — to create a program which would create backups of your specified files and store them in a Zip file. The reason this posed difficulty was because Windows does not have a built in zip function. So, I turned to the third party 7-Zip. I set the path variables so ‘7z’ to zip files should have been executable from anywhere in the command line, but oddly it was only able to run when inside the 7-Zip folder. Some research online yielded this solution:</p><pre>PATH=%PATH%;C:\Program Files\7-Zip\<br>echo %PATH%<br>7z</pre><p>Which was successful in then allowing the 7z function to be called from anywhere (for instance, from inside the Python zipping program file). After lots of struggle, the program worked! It successfully created backup files and stored them in a zip file when executed from the command line. However, the program still couldn’t be successfully run inside PyCharm itself. Maybe in time I’ll develop enough expertise to get 7-Zip to be usable inside PyCharm — but even after adding it as a ‘tool’ it would not work.</p><p>The challenge prompt then asked that the program be rewritten instead using Python’s standard library zipfile function. This I carried out as follows:</p><pre>with ZipFile(target, “w”) as zip:<br>    for file in file_paths:<br>        zip.write(file)</pre><p>I had to learn through trial and error that the type of information the zip function needed was the actual paths to the files you want zipped, not just the files themselves. I ended up using os.walk to retrieve file paths to do so. Ultimately, I find using a built-in Python module to complete a task as opposed to relying on external system-specific functionality to be a much cleaner and more preferred solution to any problem. It allows cross-platform ability to run, by just downloading the Python program itself. Always seems best to be self-contained! At least for a simple program such as this.</p><p>What all of this demonstrated to me was some real world problem solving and debugging, and it was a joy!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c87e9e56325c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/atha-data-science/zip-struggle-and-progress-c87e9e56325c">Zip, Struggle, and Progress</a> was originally published in <a href="https://medium.com/atha-data-science">Atha Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Does Ouroboros Have a Beginning? Getting Starting with Python]]></title>
            <link>https://medium.com/atha-data-science/does-ouroboros-have-a-beginning-getting-starting-with-python-b237ab4963cb?source=rss----d54ea6cc5f8e---4</link>
            <guid isPermaLink="false">https://medium.com/p/b237ab4963cb</guid>
            <dc:creator><![CDATA[Anterra Kennedy]]></dc:creator>
            <pubDate>Tue, 07 Jul 2020 03:44:52 GMT</pubDate>
            <atom:updated>2020-07-07T03:44:52.225Z</atom:updated>
            <content:encoded><![CDATA[<h3>April 13th, 2020</h3><p>So I’ve determined the direction I’m orienting my life → towards data science.</p><p>Now it’s up to deciding upon the steps to get there. It’s very different, after having spent a lifetime in academia, to now be completely self-directed. I could see how it would be very easy to get overwhelmed by the endless amount of information out there and not even start. But I am motivated by an undercurrent of passion and determination toward a clear vision, and so we begin.</p><p>I have identified the following skills which are fundamental to data science: programming, data visualization, data analysis, interacting with databases, and collection of data from various resources. To this end, the learning plan I’ve developed begins with developing proficiency in programming with Python, then learn data visualization with MatPlotLib, data analysis with Pandas, databases with SQL, and finally learn web scraping. I am open to changes in this plan as I gain new information about industry standards and best practice, but this is an outline from which to start my education.</p><p>Why Python?</p><p>Python is the industry standard for Data Science. In exploring preference between Python and R, I still favored Python due to its more robust nature as a full programming language, more versatility, and its gateway into AI and Machine Learning. R, while potentially superior in data visualization, seems preferred mostly within academia, and I want instead skills that can translate to a wide range of problems across any industry. Furthermore, Python is known to be highly beginner-friendly, due to its straight-forward syntax.</p><p>Next came choosing an IDE. I went with PyCharm after reading many reviews of all the available options. It is made by JetBrains whose other IDEs are preferred by programmers I know and came in highest rated across many articles for 2020, its accessible to beginners, is color coded for ease of readability, its has high aesthetic value (which I’ll be honest, I care about), is highly functional with debugging available etc. and is open source. Plus, its name reminded me of the charm quark (my favorite quark, by far.)</p><p>After installing both Python3 and PyCharm, I encountered my first problem solving challenge! Setting my PATH variables such that I could execute my new “hello world” module from the Command Line, and relearning relevant cmd commands to navigate to the relevant folder to execute the program. It’s not much, but it was a good refresher and was rewarding to make work.</p><p>I decided to begin my studies by working through the textbook “A Byte of Python” by Swaroop.</p><p>One thing I had to decide upon early was quotation convention for strings. The PEP8 doesn’t have a recommendation for best stylistic practice concerning this matter and they functionally do the exact same thing — basically pick one, and stick to it. I have chosen double quotes and I’ll explain why. First of all they look more like text and I find them more aesthetically pleasing. Also, I feel its far more likely for a string to contain a single stray quotation mark, for instance as an apostrophe in a contraction, than a double quotation — so using double quotes to contain strings eliminates potential difficulty with the existence of a stray quotation trying to end the string early.</p><p>So now I’m set up with my program, textbook, and conventions, and am eager to learn!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b237ab4963cb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/atha-data-science/does-ouroboros-have-a-beginning-getting-starting-with-python-b237ab4963cb">Does Ouroboros Have a Beginning? Getting Starting with Python</a> was originally published in <a href="https://medium.com/atha-data-science">Atha Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Atha Data Science: The Invitation]]></title>
            <link>https://medium.com/atha-data-science/atha-data-science-the-invitation-c47634a3bef8?source=rss----d54ea6cc5f8e---4</link>
            <guid isPermaLink="false">https://medium.com/p/c47634a3bef8</guid>
            <category><![CDATA[life-path]]></category>
            <category><![CDATA[yoga]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Anterra Kennedy]]></dc:creator>
            <pubDate>Tue, 07 Jul 2020 03:35:47 GMT</pubDate>
            <atom:updated>2020-07-23T20:14:19.468Z</atom:updated>
            <content:encoded><![CDATA[<h3>April 9th, 2020</h3><p>And so the endlessly extended invitation is accepted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*EDRAKPc-R9jIkwiaGQ4K6g.jpeg" /></figure><p>Welcome to the beginning of my journey to become a Data Scientist!</p><p>To contextualize this journey and its motivations, I want to introduce myself. My name is Anterra, my background is in Physics, and my path forward is rapidly becoming clear to me. I graduated 2017 with a BS in Physics, a concentration in Computational Physics, and minors in Astrophysics, Mathematics, and French from the University of Denver. I have maintained my whole life a deep curiosity for the questions of existence, which led me down that particular academic path into physics, problem solving, and the fundamental nature of things. Following graduation, I accepted first an internship and then an aerospace engineer and research scientist position with Pioneer Astronautics. In that capacity I contributed significantly to various NASA SBIR projects to design and develop novel in-situ resource utilization technology.</p><p>After about a year, I made the intentional choice to step back from my engineering position. I acknowledged within myself a need for change. While I found the work in aerospace highly fulfilling and exciting, there were other parts of my personal psychology and emotional needs that had been long neglected. I chose to move to Portland, Oregon, and spend some time devoting to self growth.</p><p>I am eternally grateful that I took this time. It is so easy in science and tech, in the American culture of productivity, to be so goal- and future-oriented that we fail to be present and attentive to our more wholistic needs as individuals. My entire life I had spent hurtling down the path of academic achievement, and reaching the supposed end of that path to be met with a sense of emptiness, I knew I needed to look internally.</p><p>During my hiatus in Portland, I devoted to yoga, meditation, and music. This return to arts and healing was exponentially rewarding. I had the opportunity to play violin and sing on many stages with other talented musicians, write music, learn the guitar, and begin work on recording my first EP. I adopted a diligent daily practice of yoga, meditation, and journaling, in which I would monitor my own field of thoughts and emotional responses and work to lessen their control on my actions. In turn, I came to understand and be firmly grounded in my value just in being, and not as lying in my various achievements; a much needed change for my mental health. This path led me to discover the Patanjali Yoga Sutra, a thousands-of-years-old Sanskrit text outlining how to navigate the field of the mind and come to know to the true nature of the Self. The discovery of this outline felt like coming home, and coming full circle. Toward the end of my undergraduate studies, I became increasingly interested in how quantum physics could contribute to the philosophy of consciousness, and specifically how its metaphysical implications began to converge with ancient Eastern ideas on existence. Both personally and intellectually, I knew that journeying deep into meditation was the meaningful and perfect next step on the path of my life. I followed the path further, and obtained my 300 hour Yoga Teacher Training certification after completing an immersive 8-month program of further commitment to these practices and to the Self.</p><p>It was during this break that I was able to formulate a better idea of how I wanted my future to look. I needed the opportunity to get more in touch with my own self and nature to know what aspects of a life I needed to cultivate to find fulfillment; I needed the quiet to better hear what it was I actually wanted to do. And that brings us to Data Science!</p><p>In my time away from science and mathematics I came to know that I thrive in abstract problem solving and realized how much I missed that type of thinking and intellectual challenge. So, I identified that I wanted to take my background in and love for math and problem solving and find a practical real-world application and career with it. The question then became, what form would that take? The engineering role I had held involved a great deal of mechanical engineering and building and testing physical apparatuses, and being in a laboratory handling various chemicals and simulants, which I had little experience in and came to realize I didn’t thrive in or want to do again. The aspects of the role I adored were doing comprehensive background research, analyzing our data and results and visualizing them meaningfully, and drawing key conclusions and publishing them. This was all done computationally (in this role we used Excel for data analysis). Looking back on my undergraduate research and studies, in which I used Unix to model circumstellar material and radiative processes of binary stars and in various courses used programming (Mathematica, Java) to answer a myriad of mathematical and physical questions, I knew this was a direction I more enjoyed. The beauty and power of manipulating a program, being immersed inside another language and world and having total control over its structure, receiving immediate feedback on its effectiveness each time its run and being able to change and improve in real time, and developing a clean, elegant, efficient and optimized solution to a given problem are all such rewarding and attractive aspects that draw me and my personality type to coding.</p><p>Then there are the other considerations for who I am and how I want life to look, beyond knowing I want to be involved in a technical role where I can problem solve. Being highly self-driven and independent, I would love to fill a role where I have some creative autonomy over what I am working on, and hold a position of authority over the work. I’d love to be involved with big picture level projects and analysis, as even though I’m highly detail oriented, a larger scale with understanding of the implications and conclusions of the work are where I function best and am most passionate. I’ve always been a ‘jack-of-all-trades’ type, with many different interests across several disciplines. Data science uniquely allows me to investigate and solve problems in many different areas and maintain my love for new and different information in many fields. I’ve known since I was a child that I want a life that facilitates travel, and living in many different places all over the world. I’d like to increase my earning potential and develop a sense of financial security, which my childhood was severely lacking. I’d like to still devote part of myself and life to music, and hence have a life with a versatile schedule and ability to work remotely. All of these reasons, plus the passion for the type of work itself as outlined above, points me to data science. I am honestly so grateful for the opportunity this pandemic provided for me to slow down and reevaluate, and have the time to reorient my life in these directions.</p><p>There is a word in Sanskrit, the very first word of the Yoga Sutra; “atha”. In English, it translates to “now”, but the word is impregnated with a sense of auspiciousness, of now, right now, being the moment in which one can accept the invitation to follow the path to their destiny. This moment being now, as it exists only after all of the other moments and experiences that have poised you to be exactly ready to accept that invitation. And the beauty is that that moment, now, is all the time. In each moment we have the choice to accept the invitation again and again, endlessly. And certainly, we will, as the journey to know and honor the self is an endless one.</p><p>And so I am accepting the invitation, listening to my own heart and desires from a firmly grounded and authentic relationship with self, and pursuing Python and Data Science and manifesting my destiny.</p><p>As a fun aside, I love that my coding language of choice is called Python, that too feels highly serendipitous. In Yogic and Hindu mythology, Patanjali the author of the Yoga Sutra is the avatar (earthly incarnation) of Adishesha or Ananta Shesha, the king of snakes; Ananta meaning endless, the iconography of the snake represents the endless journey one undertakes in meeting the self. Adopting Python as my area of expertise seems another small nod that I’m on the right path. :) Thanks for reading and welcome to the journey!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c47634a3bef8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/atha-data-science/atha-data-science-the-invitation-c47634a3bef8">Atha Data Science: The Invitation</a> was originally published in <a href="https://medium.com/atha-data-science">Atha Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>