김수정 강사님
내가 달을 간다면...
달에 간다는 가정 하에
내가 가져와야 하는 돌의 우선순위와 양을 구하는 문제를 풀어봤습니다.
MS LEARN 이 있다는 것만 알고
처음으로 들어가 봤는데
유튜브 교육 영상까지 있어서 흥미롭게 따라갔습니다.
핵심만 간결하게 설명해 줘서 재미있게 따라갔습니다.
아래 내용들은 기억할 만한 주요 문법 및 문장들입니다.
Learn 이 길이자 미래일 수도...
특히나 비전공자들의 희망이 될 수도 있겠습니다!
import pandas as pd
rocksamples = pd.read_csv('data/rocksamples.csv')
rocksamples.head()
rocksamples['Weight (g)'] = rocksamples[Weight (g)'].apply(lambda x : x * 0.001)
rocksamples['Weight (g)']
rocksamples.rename(columns={Weight (g)' : 'Weight (kg)'}, inplace=True)
rocksamples.head(3)
sample_total_weight = rocksamples.groupby('Mission')['Weight (kg)'].sum()
smaple_total_weight
missions = pd.merge(missions, sample_total_weight, on='Mission')
missions['Weight Diff'] = missions['Sample Weight(kg)'].diff()
missions
missions['Weight Diff'] = missions["Weight Diff'].fillna(value=0)
missions
low_samples.groupby('Type')['Weight(kg)''].count()
https://youtu.be/jyFHnO7-4Gc?si=TWbqFcCWrdoQjJxv
왜 데이터 분석을 해야 하는지 목적이 뚜렷해야 합니다.
그 목적성에 기반해서 필요한 내용들을 하나하나 실행해나간 후
필요 없는 부분들은 걷어내야 합니다.
고민 끝에 탄생한 결과물은 항상 심플하면서도 깊이가 있어야 합니다.
마지막 에필로그에서 강사님의 문장들이 와닿았습니다.
"I don't know all of those details
becasue I am not a subject matter expert.
But what I hope you've learned today,
1)
is that with publicaly-available information,
with data sets that you could collect yourself,
2)
you can really start to understand
and gain insight from this data,
3)
just with some lines of code and some simple multiplications and divisions
4)
Pandas and Python, when it relates to data science can be a little tricky sometimes,
so it's all about practice.
5)
That's what I love about doing it in these Notebooks and Visual Studio Code.
My original Notebook was a lot messier than this.
I created 10 million more DataFrames and tried it this way and add more columns.
and here we told a clear concised story
but I want to hear about your stories.
I want to hear how you explored the data,
(1) what other data sources you grabbed,
(2) and what other insights that you've managed
(3) to acquire through this exploration through data.
https://aka.ms/LearnWithDrG/OverTheMoon
Twitter
@drguthals
and use the
#LearnwithDrG