[PYTHON] Until you look back at him like "You are a data scientist? 100 years faster" -Until you make Docker on Win 10 Home and start the SQL version of "Data Science 100 Knock (Structured Data Processing)"-

The beginning of everything

Guy: "Are you a data scientist? Isn't it 100 years faster?" ···It's okay. Let's do it.

(Midnight of the day) Preliminary research is sufficient. Apparently, you need to be able to use Python, R, and SQL. Fufufu, you won. I used to bite SQL. For that purpose, I also found that this "Data Science 100 Knock (Structured Data Processing)" is the fastest way. Alright, I'll install it on my favorite machine, unbranded (: Chinese notebook PC)!

Hmmm, I need Docker first. Alright, download OK! Run! Hmm.

Hmm? What is this error? Docker Desktop requires Windows 10 Pro/Enterprise (15063+) or Windows 10 Home (19018+). For Windows 10 Home, do you mean that it should be Ver.19018 or higher? No, maybe I hadn't updated Windows for a while.

··that? I've updated Windows Update, but it's still the same message. By the way, I heard that Docker must be Win10 Pro. It was written that Docker Toolbox is required for 100 data science knocks. that? That's not in Docker. Dangerous. It's jammed. .. .. Hmmm, if nothing is done, he will make a fool of me again. Don't worry if you lick the GGR power of the bottom net people.

・ ・ ・ Hmmmm. Using WSL 2 + Docker on Windows 10 Home, you had to execute commands with Powershell in the first place. Oh, it's easier to understand at here.

that? Then, it will be out of the installation procedure ↓ of 100 data science knocks.

$ cd 100knocks-preprocess
$ docker-compose up -d --build

What should i do? That's when it's time to settle down and official documentation.

Hmmmm. I understand. The following is the procedure described in the official pdf.

  1. Install Git.
  2. Install Docker.
  3. Clone 100 knock repositories.
  4. Move to the directory containing the docker-compose file in the terminal etc.
  5. Execute the container creation command in the terminal etc.

However, in the case of * Win 10 Home *,

  1. Install WSL.
  2. Install Docker.
  3. ZIP download 100 knock repositories and extract them under your home directory.
  4. Move to the directory containing the docker-compose file in the terminal etc. (cd 100 knocks-preprocess)
  5. Execute the container creation command in the terminal etc. (docker-compose up -d --build) I understand that. Let's try it now ...

Oh? I got an error at the 5th stage. C__WINDOWS_system32_cmd.exe 2020_07_11 20_20_51.png

No, in that case, it was written as restarting the Docker container and re-executing it. Go to Docker Desktop and (Stop) stop. And start. Container list 2020_07_11 20_22_28.png

Then re-execute docker-compose up -d --build!

Oh! I got an error! Fufufu, yosha! This is coming! http: // localhost: 8888 (Also available from [here](http: // localhost: 8888)) JupyterLab - Google Chrome 2020_07_11 20_37_46.png

Oh! Something opened! Under this work. JupyterLab - Google Chrome 2020_07_11 20_39_54.png

Maybe double-click on this preprocess_knock_SQL.ipynb guy! JupyterLab - Google Chrome 2020_07_11 20_41_35.png

I came! Now all you have to do is use SQL.

Recommended Posts

Until you look back at him like "You are a data scientist? 100 years faster" -Until you make Docker on Win 10 Home and start the SQL version of "Data Science 100 Knock (Structured Data Processing)"-
Let's take a look at the Scapy code. How are you processing the structure?