Learning archive/Data Science(20)
-
๐[DataCamp] Visualizing DataFrames : Visualizing your Data, Missing Values, Creating DataFrames, CSVs
Creating and Visualizing DataFrames : Learn to visualize the contents of your DataFrames, handle missing data values, and import data from and export data to CSV files. 1. Visualizing your Data 2. Missing Values 3. Creating DataFrames 4. Reading and writing CSVs ๐Histograms ๐groupby breed, select the weight col, take the mean Missing Values ๐ Reading and writing CSVs : how to pull data from csv ..
2020.09.06 -
๐[DataCamp] Pandas : Slicing and subsetting with .loc and .iloc, Working with pivot tables
Slicing lets you select consecutive elements of an object using first:last syntax. DataFrames can be sliced by index values, or by row/column number; we'll start with the first case. This involves slicing inside the .loc[] method. ๐ Data Frame์ Slice ์ ์ Sort the index! ๐ Outer index level .loc["" : ""] ๐ inner index levels : ํํ๋ก Sliceํ๊ธฐ ๐Columns ์ฌ๋ผ์ด์ฑ ๐ ํ๊ณผ ์ด์ ๋ชจ๋ sliceํ๊ธฐ ๐ Practice : Subsetting ro..
2020.09.06 -
๐[DataCamp] Explicit indexes
๐Explicit indexes ๐ Review : Subsetting with .loc[] ์ถ์ฒ : www.datacamp.com/
2020.09.06 -
๐[DataCamp] Counting, Grouped summary statistics : groupby(), Pivot tables
๐ drop_duplicate method Removing duplicates is an essential skill to get accurate counts, because often you don't want to count the same thing multiple times. //์ค๋ณต ๋ฐ์ดํฐ ์ฒ๋ฆฌ๋ฅผ ์ํ ๋ฉ์๋ ๐Counting categorical variables Counting is a great way to get an overview of your data and to spot curiosities that you might not notice otherwise. .value_counts() .value_counts(normalize=True) // To calculate proporti..
2020.09.05 -
๐[DataCamp] Pandas : Adding a new column, Summary statistics
๐data["newly_adding_col"]=calculation ๐Summarizing numerical data ๐Cumulative Sum cumsum() Efficient Summaries
2020.09.03 -
[๐DataCamp] Data Manipulation with Pandas
.head() load first few rows .info() displays names of coulmns, data types, whether there are missing values Let's practice Sorting and subsetting zooming in specific columns subsetting rows .isin()
2020.09.02 -
๐[DataCamp] Intermediate Python : Distribution
๐Distribution Practice #1
2020.09.02 -
๐[DataCamp] Conditional statement : if, elif, else / Filtering pandas DataFrames / while loop / Loop Data Structures
๐ Overview ๐ if more customized behavior is necessary, use elif ๐ Filtering pandas DataFrames #1. Get column #2. #3. ๐ Boolean operators Practice Cars per capita(1) cars per capita (2) ๐ while loop : execute statement repeatedly ๐ for loop practice dictionary needs METHOD, numpy array needs Function ๐Loop data structures part2 ๐Random Walk ์์์ ๋ฐฉํฅ์ผ๋ก ์์ง์ด๋ ์ฐ์์ ์ธ ๊ฐ
2020.09.02