굉장히 햇갈리는 1차원배열, 2차원배열에서의 슬라이스 정리해보자
1차원 배열 DataFrame 슬라이스
1차원 배열 DataFrame 슬라이스(2)
인덱스 loc, iloc
1. 행번호(row number)로 선택하는 방법(.iloc)
2. label , 인덱스 조건표현으로 선택하는 방법 (.loc)
2차원 배열 DataFrame 슬라이스
2차원 배열 DataFrame 열조회
728x90
'AI월드 > ⚙️AI BOOTCAMP_Section 1' 카테고리의 다른 글
Hypothesis Test, T-test, type of error, parametric_2_Day7(2) (0) | 2021.01.06 |
---|---|
Hypothesis Test,자유도,one tail,two tail,chi square _2_Day7 (0) | 2021.01.06 |
Hypothesis Test,One sample,Two sample_Day6(2) (0) | 2021.01.05 |
Hypothesis Test,귀무,대안,T-test_Day6 (0) | 2021.01.05 |
판다스 데이터프레임에서 1줄만 잘랐을때 series가 왜 될까? (0) | 2021.01.04 |
댓글