작성일자 : 2023-10-30 Ver 0.1.1 1 ~ 32 문제 풀이 : https://youtu.be/PxTIbZJ3xrA?si=VnVsvEjvH9sRM_mS 33 ~ 100 문제 풀이 : https://youtu.be/00rctVVSSoA?si=Du3KDMiQeHq7Gp-F In [31]: import pandas as pd from sklearn.preprocessing import MinMaxScaler 2. Filtering & Sorting¶ Q20. 데이터를 로드하라. URL : https://raw.githubusercontent.com/Datamanim/pandas/main/chipo.csv In [ ]: df3 = pd.read_csv('https://raw.githubusercon..
데이터분석
작성일자 : 2023-10-30 Ver 0.1.1 33 ~ 100 문제 풀이 : https://youtu.be/00rctVVSSoA?si=Du3KDMiQeHq7Gp-F 4. Apply, Map¶카드이용데이터 : https://www.kaggle.com/sakshigoyal7/credit-card-customers DataUrl = 'https://raw.githubusercontent.com/Datamanim/pandas/main/BankChurnersUp.csv' In [100]: import pandas as pd Q56. 데이터를 로드하고 데이터 행과 열의 갯수를 출력하라 In [107]: df6 = pd.read_csv('https://raw.githubusercontent.com/Datamani..
작성일자 : 2023-10-30 Ver 0.1.1 1 ~ 32 문제 풀이 : https://youtu.be/PxTIbZJ3xrA?si=VnVsvEjvH9sRM_mS 1. Getting & Knowing Data¶ In [1]: #sckit-learn 설치 #pip install scikit-learn In [31]: import pandas as pd from sklearn.preprocessing import MinMaxScaler Q1. 데이터를 로드하라. 데이터는 '\t' 기준으로 구분되어 있다. URL : https://raw.githubusercontent.com/Datamanim/pandas/main/lol.csv In [33]: df = pd.read_csv('https://raw.githu..
In [1]: import pandas as pd import numpy as np from sklearn.preprocessing import MinMaxScaler In [52]: df = pd.read_csv('mtcars.csv') df.head() Out[52]: model mpg cyl disp hp drat wt qsec vs am gear carb 0 Mazda RX4 21.0 6 160.0 110 3.90 2.620 16.46 0 1 4 4 1 Mazda RX4 Wag 21.0 6 160.0 110 3.90 2.875 17.02 0 1 4 4 2 Datsun 710 22.8 4 108.0 93 3.85 2.320 18.61 1 1 4 1 3 Hornet 4 Drive 21.4 6 258...