<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Shan Islam</title><link>/</link><description>Recent content on Shan Islam</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Thu, 19 Nov 2020 00:00:00 +0000</lastBuildDate><atom:link href="/index.xml" rel="self" type="application/rss+xml"/><item><title>Projects</title><link>/projects/</link><pubDate>Thu, 19 Nov 2020 00:00:00 +0000</pubDate><guid>/projects/</guid><description>This is a list of my own personal projects
Web Scraping PS5 Web Scraper which is written in typescript and deployed on Google Cloud Function. This was a project I created to find stock of PS5 on certain websites and send email notifications if it ever found any.</description></item><item><title>Haskell</title><link>/haskell/</link><pubDate>Tue, 21 Apr 2020 22:24:44 +0100</pubDate><guid>/haskell/</guid><description>Structure of a main script with let and do syntax. Save in a script e.g. example.hs
1 2 3 4 5 6 7 8 9 main :: IO () main = do let printString = &amp;#34;Hi&amp;#34; number = 3 putStrLn printString (putStrLn . show) number To compile and run we use stack exec -- runghc example.hs</description></item><item><title>Scala</title><link>/scala/</link><pubDate>Tue, 21 Apr 2020 22:24:05 +0100</pubDate><guid>/scala/</guid><description>Table of Contents Useful File exists 1 new java.io.File(file_path).isFile Split List given seperator 1 2 3 4 5 6 7 8 9 10 11 12 import scala.collection.mutable.ListBuffer def listSplit[T](collection:Seq[T],seperator:T):Seq[Seq[T]]= { val name = ListBuffer(ListBuffer[T]()) collection foreach {e =&amp;gt; if(e == seperator){ name += ListBuffer[T]() } else { name.last += e } } name.map(_.toSeq).toSeq }</description></item><item><title>Docker</title><link>/docker/</link><pubDate>Tue, 21 Apr 2020 21:56:27 +0100</pubDate><guid>/docker/</guid><description>Table of Contents Commands Start a shell prompt Breakdown of docker image Execute Python commands in container Docker Images python3, java8 and Haskell Commands Start a shell prompt To start a shell script inside a running container
docker exec -it &amp;lt;container_name&amp;gt; bash
To start a shell script inside an image
docker run -it --entrypoint /bin/bash &amp;lt;image&amp;gt;
Breakdown of docker image Will show a breakdown of layers of docker image</description></item><item><title>Perfection is the enemy of good</title><link>/2019-10-17-perfection-is-the-enemy-of-good/</link><pubDate>Thu, 17 Oct 2019 00:00:00 +0000</pubDate><guid>/2019-10-17-perfection-is-the-enemy-of-good/</guid><description>I heard this phrase once a few years ago in a job interview and it&amp;rsquo;s stuck with me ever since. The idea is that you don&amp;rsquo;t need to strive for perfection and that creating something good is&amp;hellip;.good enough.
This resonated with me for a while, I believe in most aspects of my life I strived for perfection most likely Everything was either wrong or right, complete or incomplete there was no middle ground.</description></item><item><title>Python</title><link>/python/</link><pubDate>Tue, 18 Dec 2018 15:36:35 +0000</pubDate><guid>/python/</guid><description>Table of Contents Table of Contents Pandas Pandas Conditonal Column Applying functions to Pandas columns Converting strings to date or datetime Pandas Pandas Conditonal Column A conditional column is a column in a dataframe that is generated based on other column/s. There are multiple way of doing this in Python but one of the quickest ways is to use the np.where() function. This function is basically the equivalent of an if statement in Excel.</description></item><item><title>I'm now a data scientist!</title><link>/2018-12-15-i-m-now-a-data-scientist/</link><pubDate>Mon, 17 Dec 2018 00:00:00 +0000</pubDate><guid>/2018-12-15-i-m-now-a-data-scientist/</guid><description>TLDR; I went to a recruitment hackathon 6 months ago and got offered a job. Now part of one of the coolest data science teams around
As the title explains, I started a new job two months ago as a junior data scientist!
I spoke to a friend of mine when I got the job and he said I should write a blog post on it, so here it is.</description></item><item><title>SQL Part 2 of 4</title><link>/2017-03-09-sql-part-2-of-4/</link><pubDate>Fri, 09 Mar 2018 00:00:00 +0000</pubDate><guid>/2017-03-09-sql-part-2-of-4/</guid><description>I said I&amp;rsquo;d continue these posts this year and that&amp;rsquo;s what I plan to do! A sequel to my post on SQL! (My wife thought this was a terrible joke)
Now let&amp;rsquo;s talk about SEGMENTATION!
Segmentation isn&amp;rsquo;t something I found as intuitive as basic SQL. You can generally figure out what a basic SQL statement is going to do before it runs. Have a look at my last SQL post for an example.</description></item><item><title>New Year, New post!</title><link>/2018-01-23-new-year-new-post/</link><pubDate>Tue, 23 Jan 2018 00:00:00 +0000</pubDate><guid>/2018-01-23-new-year-new-post/</guid><description>We&amp;rsquo;re three weeks into January so guess it&amp;rsquo;s unusual to write a new year post so late into the month.
However, I recently had a twitter conversation with John Mackintosh who is a data analyst for the NHS up in Scotland. If you look at his blog site you can see that I based my blog style on his. Long story short, John encouraged me to write more so that&amp;rsquo;s what I plan to do</description></item><item><title>G1 Climax</title><link>/2017-10-23-g1-climax/</link><pubDate>Mon, 23 Oct 2017 00:00:00 +0000</pubDate><guid>/2017-10-23-g1-climax/</guid><description>Here&amp;rsquo;s a post that is slightly different to the other posts that I&amp;rsquo;ve done so far. Rather than having a step by step tutorial on how to do something. The below allows me to work on my python skills and explain a few things as I go along.
People who work in Data Science tend to work in programming languages R or Python. I&amp;rsquo;ve been learning both languages over the last two years and at the moment I&amp;rsquo;m trying to get better at my Python.</description></item><item><title>Pip install guide[Mini-Post]</title><link>/2017-06-03-pip-install-guide-mini-post/</link><pubDate>Sat, 03 Jun 2017 00:00:00 +0000</pubDate><guid>/2017-06-03-pip-install-guide-mini-post/</guid><description>I will get back to the SQL posts but thought I would post something that could be useful to others. If you want to use Python for Data Science you will need additional python libraries.
I don&amp;rsquo;t have a huge understanding of command line functions and I found it a bit difficult to find a step by step guide on how to install python libraries .
My wife(the doctor) thought that PIP was something else medical related from a scandal a few years ago.</description></item><item><title>SQL part 1 of 4</title><link>/2017-05-15-sql-part-1-of-4/</link><pubDate>Mon, 15 May 2017 00:00:00 +0000</pubDate><guid>/2017-05-15-sql-part-1-of-4/</guid><description>I had to recall what SQL(Structured Query Language) actually stood for because no one actually calls it &amp;lsquo;Structured Query Language&amp;rsquo;. People just refer to it as &amp;lsquo;see-kwel&amp;rsquo; or as my wife calls it a sequel to a movie and that Godfather 2 is the only acceptable kind.
If you have a lot of historic data that you need to access and interrogate regularly then SQL is probably the way to go.</description></item><item><title>First post!</title><link>/2017-04-06-first-post/</link><pubDate>Thu, 06 Apr 2017 00:00:00 +0000</pubDate><guid>/2017-04-06-first-post/</guid><description>You start a blog and then you can&amp;rsquo;t decide what to write about in your first post. After mulling it over I decided I would write why I want to be a data scientist and show any cool things I&amp;rsquo;ve seen.
If you don&amp;rsquo;t want to read all the below just skip to the bottom that summarises everything and a cool example of data science in action.
I first discovered data science accidently while perusing courses on Udemy when I was looking for courses to improve my SQL skills.</description></item><item><title>About me</title><link>/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/about/</guid><description>Hi my name is Shan. I&amp;rsquo;m currently a data analyst scientist based in London, with a background in mathematics and some programming I did in school.
I discovered data science over 2 years ago and realised it was my dream job. So I talked it over with my wife and decided to start this blog to hold myself accountable and post my thoughts/tutorials or anything cool I come across the web.</description></item></channel></rss>