<?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 Queenie Pamatian on Medium]]></title>
        <description><![CDATA[Stories by Queenie Pamatian on Medium]]></description>
        <link>https://medium.com/@queenie-pamaitan?source=rss-4a32f44141f9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*llzAOPuzeI-hnrSI.jpg</url>
            <title>Stories by Queenie Pamatian on Medium</title>
            <link>https://medium.com/@queenie-pamaitan?source=rss-4a32f44141f9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 15 May 2026 09:04:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@queenie-pamaitan/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[The AI takeover]]></title>
            <link>https://queenie-pamaitan.medium.com/the-ai-takeover-aa42ac2d2059?source=rss-4a32f44141f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa42ac2d2059</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[alphago]]></category>
            <dc:creator><![CDATA[Queenie Pamatian]]></dc:creator>
            <pubDate>Wed, 28 Oct 2020 08:41:22 GMT</pubDate>
            <atom:updated>2020-10-28T08:41:22.472Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*ILi7UDZ4JV18Mlae-DoJ4w.png" /><figcaption>just for Lols</figcaption></figure><p>Artificial Intelligence is the future. It’s a bit terrifying and amusing at the same time.</p><p>I was able to saw a documentary called “AlphaGo” and it is really mind-boggling for me. AlphaGo by Google is basically a computer program that plays the board game “Go” against human .</p><p>Fan Hui, a 2 dan European Go champion was sent to compete against Alpha Go and the latter was able to win all of the 5 matches. I am really perplexed by how powerful the AlphaGo is.</p><p>Later on AlphaGo competed with Lee Sedol (ranked 9-dan), one of the best players of Go. Lee Sedol was confident that the AlphaGo will not beat him because he observed the matches of Fan Hui and the AI, and he thought that the AlphaGo was not quite as the same level as him yet. Shockingly, even the world’s best Go player was defeated in 4 out of 5 games played. (Still Kudos to Lee Sedol for being the only human to beat AlphaGo out of all of the official matches conducted.</p><p>It’s really flabbergasting how a human trained artificial intelligence beat the very same humans that created it. It is good to think about, and the applications of AI is beyond our imagination, but it is also scary to think that an Artificial Intelligence was able to beat human intuition so easily.</p><p>AI is a great step towards progress but we have to be more mindful so that no problems arises from it.</p><p>In China, they are very serious in making themselves the country leading in terms of AI advancement. They have the data and the man power. If they were able to succeed with their mission, it would definitely make major changes in the sociopolitical and economical landscape of the world.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa42ac2d2059" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Confession Time: I am a Fashion Enthusiast!]]></title>
            <link>https://queenie-pamaitan.medium.com/confession-time-i-am-a-fashion-enthusiast-e616ac712d8c?source=rss-4a32f44141f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/e616ac712d8c</guid>
            <dc:creator><![CDATA[Queenie Pamatian]]></dc:creator>
            <pubDate>Tue, 20 Oct 2020 22:07:11 GMT</pubDate>
            <atom:updated>2020-10-20T22:07:11.814Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yLl7BQa1igPW-YBR" /><figcaption>My shoppee daily discover</figcaption></figure><p>That’s it. That’s the evidence. I am a fashion enthusiast.</p><p>A lot of people tell me “Queenie, you have way too many clothes.” But I always shrug and think that I always don’t have enough clothes, people are subjective anyway. I find myself almost everyday thinking “Gosh. I don’t have enough clothes.”</p><p>But when I learned about machine learning, the reality struck hard. I do spend a lot of time looking for clothes to buy. I am too enthusiastic with clothes.</p><p>My shoppee daily discover almost always recommends clothes for me which often leads me to making an impulse purchase, and as you can see on the screenshot, I am also looking for a clothes storage as well. Why? Because I simply have too much clothes :(</p><p>Personally, I don’t like seeing recommendations like this because I kept on spending on clothes when I clearly have way too many of them. But that’s just how shoppee works and it is their strategy to acquire more transactions. I might just as well uninstall it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e616ac712d8c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Statistics in the field of Data Science]]></title>
            <link>https://queenie-pamaitan.medium.com/statistics-in-the-field-of-data-science-14b1faa7eb0c?source=rss-4a32f44141f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/14b1faa7eb0c</guid>
            <category><![CDATA[data-exploration]]></category>
            <category><![CDATA[data-cleaning]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Queenie Pamatian]]></dc:creator>
            <pubDate>Fri, 02 Oct 2020 05:05:14 GMT</pubDate>
            <atom:updated>2020-10-02T05:05:14.820Z</atom:updated>
            <content:encoded><![CDATA[<p>According to Investopedia, statistics is a form of mathematical analysis that makes use of quantified models, representations, and synopses on a given set of data, be it experimental or real life data.</p><p>To me, personally, statistics is just another intimidating mathematical science subject, but we see it almost everyday and can make use of it in the aspect of our day to day lives.</p><p>As an aspiring data scientist, I have no choice but to embrace statistics, as it is somehow intertwined with my field of interest. A data scientist would definitely be working with data, probably like a unicorn who will see through data collection until the end, or maybe just provide insights and analysis with a clean data set. And what would a data scientist do with these data? a data scientist would have to assess which data, and specific variables to be used; analyze the data; identify patterns and trends; applying models. In essence, data scientists utilize statistics in a lot of step of their work. In data analysis, they might use simple mean, median, mode, or maybe resort to more complicated statistical tools such as test of correlations. They are using statistics in order to generate insights with the data that they have. It is really necessary to have sufficient knowledge in statistics, to become a data scientist.</p><p>There are a lot of statistical techniques that will help a data scientist. For an instance, regression (linear) is very useful to predict next sets of data, hence, it can help a data scientist form recommendations. Sampling methods are basic, but very much needed as well. A data scientist might one day encounter a very huge data and if the data scientist do not have direct access to the data, the time for data extraction and transfer would be a loss, hence an adequate sampling is the next best thing.</p><p>Let’s say you are given multiple data sets with over a hundred thousand rows and ten columns each. What do you do?</p><p>Of course the wise answer would be to explore and clean the data (other than praying that your laptop could handle the load). Exploring the data will be identifying which data do you need and cleaning the data would be removing those data that are not remotely relevant to the study, it is an option to remove the null values as well.</p><p>If you do not explore and clean the data, you will not be able to see a greater picture because the other data that you don’t need acts as noise. You can spend time coding and making it work for this variable, but it turns out you have a better option that you would have known if you made time to explore the data. Evidently the process of exploring and cleaning the data takes a lot of time (Our mentor even said that this process takes weeks, only to do the data science thing for two hours), but it is a process you can not skip. If you do, you may spend days and days trying to process a very heavy file (longer time to load), only to find it futile because the data is dirty and some of the variables are not standard with each other. Moreover, having large amount of data, especially if its personal, poses a security risk, so it is better to explore and clean the data before you put those data science magic.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14b1faa7eb0c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Charts and whatnot]]></title>
            <link>https://queenie-pamaitan.medium.com/charts-and-whatnot-29ce1bf10667?source=rss-4a32f44141f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/29ce1bf10667</guid>
            <category><![CDATA[seaborn]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[pandas]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[charts]]></category>
            <dc:creator><![CDATA[Queenie Pamatian]]></dc:creator>
            <pubDate>Thu, 01 Oct 2020 09:10:47 GMT</pubDate>
            <atom:updated>2020-10-02T04:27:27.747Z</atom:updated>
            <content:encoded><![CDATA[<p>Let me tell you a story about insurance, but first you have to bare with me as I am not yet proficient with the tool that I will be using to paint you a picture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*3M_U4pyi5XRflKYUpd1bvw.png" /></figure><p>I was able to acquire an anonymous data about insurance and I would like to gather some insights about it. I will try to make use of pandas and matplotlib libraries . Let’s have a look with the data first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*vQQzxMIeHGk-rknaiVa8FA.png" /><figcaption>insurance.csv</figcaption></figure><p>Okay, so there are few null values. I would like to disregard them so that they will not have much bearing when I employ statistics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/153/1*DFmnS7MBFmQWWpQ-u3WZKw.png" /><figcaption>code</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/85/1*w2jvFcIY3IrPRTSsg4CYFg.png" /><figcaption>output</figcaption></figure><p>All good, we were only able to remove 4 rows. I also noticed that the label of gender is inconsistent some are labeled male, female, and there are also woman and man, so I have to sync them by running these code:</p><p>df = df.replace({“man”:”male”})<br>df = df.replace({‘woman’:’female’})</p><p>Same goes for the region.</p><p>What I want to know is which group pays the most insurance. I would like to know it according to the following categories: bmi, and number of children.</p><p>code: print(df[[‘sex’, ‘charges’]].groupby([‘sex’]).agg([“mean”, “max”, “min”]))</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*pyu2p3Ij34tJuJJhDI3nWg.png" /><figcaption>charges / sex</figcaption></figure><p>As you can see, the male population is pays higher insurance. It is possible to consider that it is because the average number of children and bmi of men are slightly higher as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*bGl5CD-QjgB9Ji9YKMq7qg.png" /><figcaption>bmi and number of children / sex</figcaption></figure><p>For the number of children, what is very noticeable is that those with the most number of children pay the least amount for insurance. Whereas the other age group does not have a wide range of the amount they are paying for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*Dp6lFaczHlTYXJoI_FGh4Q.png" /><figcaption>charges / number of children</figcaption></figure><p>Meanwhile, let’s look closer at the BMI. I was able to create a new column for my data which is the BMI status. It tells us whether the person is underweight, normal, overweight or obese.</p><p>I used the below code to create a new column:</p><p>rating = [<br> (df[‘bmi’]&lt; 18.5),<br> (df[‘bmi’]&gt;= 18.5) &amp; (df[‘bmi’] &lt; 24.9),<br> (df[‘bmi’]&gt;= 24.9) &amp; (df[‘bmi’] &lt; 29.9),<br> (df[‘bmi’]&gt;= 29.9),<br> ]</p><p>label = [‘underweight’,’normal’,’overweight’,’obese’]<br>df[‘bmi_stats’] = np.select(rating,label)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*_cxJJIJgk9lj3K9HVVN94w.png" /><figcaption>bmi/sex</figcaption></figure><p>There are also more male that has a BMI status of overweight to obese. As you can see as well, obese people pay most for the insurance.</p><p>Let’s try to visualize the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*0HFrXOM_YY8-XRO40LxOxA.png" /><figcaption>charges / gender</figcaption></figure><p>In here we can see that the average insurance being charged to men is a bit higher than with what is being charged with women.</p><p>We would like to know first if the number of children may have affected the difference. keep in mind that the average number of children for male is 1.12, whereas 1.07 for female. Looking at the chart below, we can see that the average charges being paid according to the number of children is quite close per category, with the exception of those who have 5 children. Hence, what we can only infer here is that it reaches a point that the more children you have, the less willing you are to pay for high insurance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*aNv0XTn8AA1iasmLoDLPPw.png" /><figcaption>charges paid according to number of children</figcaption></figure><p>Meanwhile, the graph below shows that more obese and overweight people are paying for higher insurance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*MS8EUJtGD9e09TbQsYIsIw.png" /><figcaption>Charges paid according to BMI</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*LVX9iqIOCOzK4p86c5GE5A.png" /><figcaption>BMI stats / gender</figcaption></figure><p>And since we can see that there are more overweight and obese male than female, we might consider the BMI status as a factor for the price difference between insurance.</p><p>Feel free to look at my codes here: <a href="https://github.com/ftwqueenie/pythoncharts">https://github.com/ftwqueenie/pythoncharts</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29ce1bf10667" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s Keep a Record of Your Score]]></title>
            <link>https://medium.com/swlh/lets-keep-a-record-of-your-score-55a7dc4885b7?source=rss-4a32f44141f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/55a7dc4885b7</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[crud]]></category>
            <dc:creator><![CDATA[Queenie Pamatian]]></dc:creator>
            <pubDate>Tue, 29 Sep 2020 08:39:47 GMT</pubDate>
            <atom:updated>2020-10-04T20:21:42.498Z</atom:updated>
            <content:encoded><![CDATA[<p>For the day 5 of our data science training, we continued learning python. We picked up from where we left off and on set to new knowledge. This session is much more challenging because the pacing of the lessons is a whole lot faster.</p><p>For this week’s task, we were asked to recalibrate our quiz that we made the Saturday before. What is expected to this new version of quiz is to include CRUD techniques (create, read, update, delete).</p><p>As a refresher, let me show you the original quiz I made:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*IxKiP6rHlFHu9FlOIW-6fQ.png" /><figcaption>Quiz</figcaption></figure><p>So as you can see at the top part, I declared the variables that I will be using throughout the code. Afterwards, I declared the functions.</p><p>My functions are:</p><ul><li>intro(name) — this is called at the start of the program wherein a user is asked to input his/her name.</li><li>rating(score) — this function will compute the ratings of the users. It will assess if the user needs to study more or it already passed.</li><li>quiz(question,answers) — this is the main part where the questions are being loaded and the user input answers are being compared to the answer key. I used a separate list for questions and answers and just utilized an iterator to match the indices of respective questions and answers. A better way to do it would be through dictionary.</li></ul><p>Here comes the modifying part.</p><p>I decided to add another function called loadscores. In this function, my goal is to write the names, scores, and the ratings of the user (recently added to say if a user failed or passed) in a text file.</p><p>I made 5 version of the quizzes and opened more than 10 tabs of google chrome just to arrive at this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*lfKHUUvm1y68hMAeSeIjZw.png" /><figcaption>loadscores()</figcaption></figure><p>since I used a list as a place holder for the names, scores, and ratings of the users, I can use the for loop to iterate through the user details.</p><p>At the beginning of the code I imported from os import path so that I can have a way to check if the text file exists. This is important because this will determine if i should write the text file or append it (thank you google!)</p><p>After determining whether I should append the text file or create a new one, I coded the lines for the content of every column of the text file (name, score, rating).</p><p>Let me modify first the code so that the square brackets wont be included when writing using .replace()</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*1opaE4DIILexcb271FIIsA.png" /><figcaption>using replace()</figcaption></figure><p>Let’s check out the file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*wtHEDbXvLqRkeLw1GYJQyg.png" /><figcaption>first user: Queenie</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*dfPSwPrv6pUcZvnOgT9raQ.png" /><figcaption>scoreboard.txt</figcaption></figure><p>Works well!</p><p>Next is the tricky part. Deleting the first entry whenever the scoreboard reaches 10 rows. For a simpler testing I just used 3 as the limit so that it will be faster to run the test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*5YDdxLXtAYPQ-N4-YI55lw.png" /><figcaption>code for delete and update</figcaption></figure><p>So in here I created a variable called last_list taht reads the existing scoreboard.txt. The for loop will count the number of lines in the file and placed to a variable called numscores.</p><p>The if loop is the condition that sets when to delete an item. So as I’ve said I will set it to 3, and if it reaches 3, the first row in the text file will be deleted.</p><p>I created a variable called newscore as a holder for rewriting the new lines in the file. Prior to deleting, there are 4 lines already in the txt, and now since we deleted the first index, we are expecting t write 3 lines in our text file.</p><p>Let’s demonstrate if its correct</p><p>Remember that on our first run we already have 1 item in the text file. the record of user Queenie. So we just have to run 2 more times.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*ZaOdQnOZ5SzUCb97xc96dA.png" /><figcaption>scoreboard.txt</figcaption></figure><p>Now user Dylan and Kier were able to take the quiz. After running the code again for another user, we are expecting the record for Queenie to be deleted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/269/1*iddX7G3q0b72glIGXH4x8Q.png" /><figcaption>scoreboard.txt</figcaption></figure><p>Our del works! :D</p><p>Extra: Converting it to a csv file.</p><p>If we want to study the data that was stored into the text file, It is best to have it in a CSV form. So I added extra codes (in a separate py) to convert my txt file into a csv with 3 columns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*YRUuPg1c7jvpwdxU4x4oLg.png" /><figcaption>dataviz,py</figcaption></figure><p>Just a few lines of code but very powerful :)</p><p>Here’s the result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*AmLrtxFZaaAwwtK2lkSCtA.png" /><figcaption>scoreboard.csv</figcaption></figure><p>Check out my code at git hub :)</p><p>Here’s the link:</p><p><a href="https://github.com/ftwqueenie/quizwithCRUD">ftwqueenie/quizwithCRUD</a></p><p>Hello again! Apparently I misunderstood the instruction so I need to have modifications.</p><p>So task 1 should be able to display the 10 most recent game plays in the terminal, rather than writing a file for it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*nm8F9Uxot6O7QuOUXL1fQg.png" /><figcaption>Display score</figcaption></figure><p>It is pretty much the same logic with writing it in file, but this time I just have to print the scores. I still kept the write to file function though.</p><p>The second task is to be able to apply CRUD on the questions (at first I applied it on the scores part).</p><p>For that, I made an admin mode where I can have the options to delete and add questions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*yHqQ8nsg6CuITp8BfR29yw.png" /><figcaption>Add questions</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*FeLvWILrrSUpHffwrKEHVQ.png" /><figcaption>Delete Questions</figcaption></figure><p>I just patterned my codes with the previously made function where I write the scores in the text file and access the lists I made.</p><p>I have reuploaded it under the same repo but do checkout <a href="https://github.com/ftwqueenie/quizwithCRUD">https://github.com/ftwqueenie/quizwithCRUD</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55a7dc4885b7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/lets-keep-a-record-of-your-score-55a7dc4885b7">Let’s Keep a Record of Your Score</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Notebooks vs IDE]]></title>
            <link>https://queenie-pamaitan.medium.com/notebooks-vs-ide-3b7f3525a108?source=rss-4a32f44141f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b7f3525a108</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[colab]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Queenie Pamatian]]></dc:creator>
            <pubDate>Sun, 20 Sep 2020 10:28:14 GMT</pubDate>
            <atom:updated>2020-09-20T10:28:14.219Z</atom:updated>
            <content:encoded><![CDATA[<p>As an aspiring data scientist, I get to learn a lot of new things and while in my previous blog, I was able to mention that I had taken Python programming before, I am only familiar with coding using IDE and using text editor app like notepad++ and sublime. But recently I found out about notebooks!</p><p>Notebooks are very cool. They were very effective to use when teaching. Our IM, Sir Myk, and Junior DS, Shane, both used notebook when they were teaching us.</p><p>What I like with notebooks is that you can have a portion for texts including formats such as heading, subtitle, bold face, italicized and more. It will not interrupt at our code at all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*PTjHFWQPdiFSWzE6twRgkQ.png" /><figcaption>Quiz code in Notebook</figcaption></figure><p>As you can see, using notebook, I was able to organize my code. So that it will be easier to understand. I have a title, and labels for each section of the code. I was able to compartmentalize my codes so that I can easily find errors when I try to run it, however, the down side of doing that is that I have to run the other cells as well. Nevertheless, it is a neat way to present my codes.</p><p>Let’s test my quiz!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*Gj54T10LSCO_yQCclfjK_Q.png" /><figcaption>Running my code</figcaption></figure><p>It works well! I even got a perfect. As my app told me, I’m a walking atlas!</p><p>Now when I presented my code, I was told that I could make use of the functions in order to make my code better. This time I will be using Spyder, an IDE, to recreate my codes with the suggested modifications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*i-xbfKBJC4aWlIeLGwzraw.png" /><figcaption>My modified code</figcaption></figure><p>I was able to modify the code at Spyder. In Spyder, I have no option to create a text field with customizable fonts and styles, however I tried to make do using comments. For multiple line comments, I just have to enclose it with three quotation marks on both ends, while on single line comment, I just have to put a hash prior to the comment.</p><p>What I really like about using Spyder is that it the color varies for variables. It makes it really easy to identify.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*FHmXEdQ8VI86Bws2ejcYFw.png" /><figcaption>Variable explorer</figcaption></figure><p>I also really liked the variable explorer part, wherein I can see the summary of the variables that I declared. I especially loved it because it showed me the placeholder for my score, which is a list called ‘correct’. I have never printed it anywhere in my code, so it’s good to see that it is working well on the background.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*Uy0RzExqgHPjYlC5xxtpSw.png" /><figcaption>Run interface</figcaption></figure><p>Like colab, it has a built-in interface where you can run the codes (not sure if all notebooks do that), but as I tell you, this is very convenient as compared to having to run the code in cmd or terminal.</p><p>Overall, I think both tools are great, but if you really have to ask me, I prefer the Spyder because I can explore the variables. I think it is a really helpful function.</p><p>Bonus: i have uploaded my notebook and my work in spyder at my git hub</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*eYGRh9-TzYzmDpFB9ofBdg.png" /><figcaption>Saved via colab</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*uw6IdvidEpmnysXRhDOK4A.png" /><figcaption>pushed to my git</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m-m0I3g5XsmgmMS7MMGjCQ.png" /><figcaption>My git</figcaption></figure><p>Check out this link: <a href="https://github.com/ftwqueenie/the-capital-quiz">https://github.com/ftwqueenie/the-capital-quiz</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b7f3525a108" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Keeping up with Python and Colab basics]]></title>
            <link>https://queenie-pamaitan.medium.com/keeping-up-with-python-and-colab-basics-4518d4457346?source=rss-4a32f44141f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/4518d4457346</guid>
            <dc:creator><![CDATA[Queenie Pamatian]]></dc:creator>
            <pubDate>Fri, 18 Sep 2020 07:50:45 GMT</pubDate>
            <atom:updated>2020-09-18T07:50:45.027Z</atom:updated>
            <content:encoded><![CDATA[<p>Last Saturday (20200912) I got completely lost with our hands on activity with google colab. But with the help of the materials graciously provided to us by our in-house Junior data scientist, Shane, I was able to practice and to see some light. Let’s visit my journey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*Jh-I9UuMrHhTY7TSGx7Vfw.png" /><figcaption>This is where I stopped last Saturday. I got completely lost when we started using the github.</figcaption></figure><p>I am now following this link. <a href="https://docs.google.com/document/d/1Zxm03eDfWy8gDdyFtYRDr2Hf01rSLmKRz2Qv30vrMxU/edit#heading=h.dyvdx1vxlkac">https://docs.google.com/document/d/1Zxm03eDfWy8gDdyFtYRDr2Hf01rSLmKRz2Qv30vrMxU/edit#heading=h.dyvdx1vxlkac</a></p><p>Here is my github account :) link: <a href="https://github.com/ftwqueenie">https://github.com/ftwqueenie</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*FlrGdN_fjRYB-6kinm_F9g.png" /><figcaption><a href="https://github.com/ftwqueenie">Github/ftwqueenie</a></figcaption></figure><p>I already tried making a repository before and cloned it to my laptop, but I already forgotten how. So I have to make an ew one and I called it <a href="https://github.com/ftwqueenie/git-and-colab-basics">git-and-colab-basics</a>.</p><p>I was able to successfully clone the repository in my laptop and followed the instructions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*cE31sY2vhTVy9gofkhUbsQ.png" /><figcaption>repository</figcaption></figure><p>I copied my revised work of the activity last Saturday (filename: 200917_QDBP.ipnynb) so that I could add it in my repository.</p><p>I had a major problem with commit part as it kept on asking for my credentials and I got confused at first. It seems like my cmd doesn’t know my git hub acct yet. but with a little help, I was able to overcome it and successfully pushed the new file I added to the repository I made.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*gRSqBBvQ10fPTW2YnUfdGg.png" /></figure><p>This is my “rush commit”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*Yu2J4SAk32bbl6gwGsZ_pA.png" /><figcaption>rush commit</figcaption></figure><p>I also cloned a data scientist cheat sheet in my laptop. Once I have time, i’ll be sure to check them out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*7XOFCvWgyMfJ1lnx721KUg.png" /><figcaption>basics by CStorm</figcaption></figure><p>For Jupyter, it looked quite similar with the interface of colab. I just made a new notebook called Git Basics. I just redid the sample that we did last week and it worked the same even when I’m using a different tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*67R37EpnKFf93NrkDgo-LQ.png" /><figcaption>Jupyter part 1</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*sItLGLBBKk-jOl5FEL4puQ.png" /><figcaption>Jupyter part 2</figcaption></figure><p>So what I did is just to import GrabDataSeer.csv file in the same directory I’m currently working in and imported it in my code. I removed all the rows that contains null values (unallocated) and saved the new file as gitbasics_removedmissing.csv</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*PU3VpXn_qtLWH8TkWZF-Pw.png" /><figcaption>working directory</figcaption></figure><p>So now I have the notebook, the original csv and the reworked csv in my directory.</p><p>Finally I recreated the steps using SPYDER. See my code below :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*nM5JDh8qnkZMhs11k7zqUA.png" /><figcaption>Spyder code</figcaption></figure><p>Running it didn’t print anything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*J-rn7PJ9Lq16mkFlhq7WEQ.png" /><figcaption>Run</figcaption></figure><p>But when I checked the directory where I saved the file, there it is. i was a ble to modify the GrabDataSeer.csv once again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*FouXscTtYf5yPu2mpTxyog.png" /><figcaption>results of Spyder</figcaption></figure><p>And that’s it for now. I’m kind of getting the gist of the basics. I am a bit anxious for what’s in store for me next class!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4518d4457346" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Long forgotten skill]]></title>
            <link>https://queenie-pamaitan.medium.com/long-forgotten-skill-1d1c0fab1160?source=rss-4a32f44141f9------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d1c0fab1160</guid>
            <dc:creator><![CDATA[Queenie Pamatian]]></dc:creator>
            <pubDate>Fri, 18 Sep 2020 07:49:58 GMT</pubDate>
            <atom:updated>2020-09-18T07:49:58.128Z</atom:updated>
            <content:encoded><![CDATA[<p>I took 6 units of computer science when I was an undergraduate student. Those were introduction to python programming and Object oriented Programming. I should be no stranger to command line coding, and especially not a stranger to python. However, as fate have it, having no avenue to practice all those sleepless coding nights, it’s as if it never happened to me.</p><p>As I take this journey towards the much yearned Data Science career, I am tasked to retrace my steps and relearn python coding. I’m ecstatic to find out that while I can not recreate the codes on my own, I can actually understand them if I read them. The python syntax is still flickering a bit in my mind.</p><p>Following the video I was watching, I saw how to declare variables and how to import items in your code (key: pandas!!!) So where do I start my coding? of course, to print Hello World!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*vh19Rx8fcB0crMW0Uq2K-Q.png" /><figcaption>My first code in years</figcaption></figure><p>So moving on, I also declared variables and had them print</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*mjckXz7Uw3kw-FWPPH7Anw.png" /><figcaption>Adding up and Multiplying variables</figcaption></figure><p>But I remember, back then I was able to ask inputs from users whenever I’m adding something. I want to try that again but my brain failed me. Luckily, my trusty friend stack over flow came through, although it is definitely not the function I’m expecting and I’m hoping I could remember how i did it before, but nevertheless i got to ask user inputs to have a sum! (however I can’t concatenate the text and the variable sum :( )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*k_XGcnGUIpjiXpJXbxS6Pw.png" /><figcaption>User input sum</figcaption></figure><p>I really do have to take a crash course to Python. I can’t make my former knowledge work anymore. Let’s check if I still remember the command prompt. This is where we load our codes back then</p><p>So the content of the video is quite unfamiliar with me us we have not maneuvered cmd before (except cd). So in the tutorial vids, I learned several things:</p><ol><li>DIR — lists all the items in the directory</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*0ZtJkqUsZCpqnQBNoSAjLw.png" /><figcaption>DIR</figcaption></figure><p>You can also use DIR without changing the current directory</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*GOMHfvX4tzWP7XkfR3p17w.png" /><figcaption>DIR w/o CD</figcaption></figure><p>2. rmdir and mkdir — removes and makes directories</p><p>rmdir /s — removes everything in the directory, including all of the directories it contains</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/1*PKpbNkHfyNJmDwz40VMU_A.png" /><figcaption>rmmkdir</figcaption></figure><p>3. Tree — displays everything inside the directory including the directories inside of those directories and so on, in a tree form. This one is pretty cool and I found out that I have a lot of items in my C drive and it did not stop for 3 minutes until I hit CTRL C.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*LR1pRN4T1jjY40-o-n2dIQ.png" /><figcaption>C drive tree (partial)</figcaption></figure><p>4. Color — my favorite! I get to change colors in cmd and I am fond of the matrix team as it feels like I am a master hacker.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*RDXuDrQAzhti6dP4ezH1uA.png" /><figcaption>color</figcaption></figure><p>5. Attrib — shows the attributes in the directory. You can also change the attributes of files.</p><p>6. Del — deletes files</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/365/1*mVJ3X37TvC_uaKX2DDc3gg.png" /><figcaption>delete</figcaption></figure><p>7. Echo &gt; — you can use echo to create a file, with text that was indicated in the echo. Double greater than (&gt;) sign will not overwrite the file and just append the additional text you input.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*Gbs68eomuOF955NxLD-S7Q.png" /><figcaption>echo</figcaption></figure><p>8. Copy — will allow you to copy files or folders into a specified destination, and xcopy will allow you to copy everything including directories</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*6yue9NcEaZBO6oJO1_PXLQ.png" /><figcaption>copy</figcaption></figure><p>9. Move — it enables us to move directories or files from source to a destination</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/586/1*Cc94_L27kRV4DeyRsVvX1Q.png" /><figcaption>move</figcaption></figure><p>10. Rename — will allow you to rename files</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/396/1*WwI_Lfa7GFqgzg6aD0bMJA.png" /><figcaption>rename</figcaption></figure><p>So that’s it for now. I’m looking forward to learn more as I take the Data Science journey with For The Women foundation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d1c0fab1160" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>