chaining
연속적으로 진행되는 코드를 조금더 깔끔하게 정리하는 방법
예)
(before)
df = a(df)
df = b(df)
df = c(df)
(after)
df = df.a.b.c()
pipe
판다스 파이프 모르겠다 이해안됨
출처 : pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.pipe.html
728x90
'AI월드 > ⚙️AI BOOTCAMP_Section 1' 카테고리의 다른 글
Hypothesis Test,귀무,대안,T-test_Day6 (0) | 2021.01.05 |
---|---|
판다스 데이터프레임에서 1줄만 잘랐을때 series가 왜 될까? (0) | 2021.01.04 |
Data Manipulation_Day3(3)_Tidy data (0) | 2021.01.03 |
Data Manipulation_Day3(4)_ggplot,그래픽문법 (0) | 2021.01.03 |
Data Visulaize,plot,seaborn_Day4 (0) | 2021.01.03 |
댓글