일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- reinforcement learning
- pandas
- convex optimization
- unity
- machine learning
- 강화학습
- David Silver
- Linear algebra
- list
- 김성훈 교수님
- Jacobian Matrix
- Python Programming
- ML-Agent
- paper
- 데이터 분석
- Hessian Matrix
- 모두를 위한 RL
- 유니티
- optimization
- 논문
- Series
- Deep Learning
- Laplacian
- 리스트
- rl
- 사이킷런
- statistics
- 판다스
- neural network
- 딥러닝
목록판다스 (6)
RL Researcher
1. DataFrame 생성(dictionary로 부터 생성) dict의 key -> column data = {'a' : 100, 'b' : 200, 'c' : 300} pd.DataFrame(data, index=['x', 'y', 'z']) data = {'a' : [1, 2, 3], 'b' : [4, 5, 6], 'c' : [10, 11, 12]} pd.DataFrame(data, index=[0, 1, 2]) 2. Series로 부터 생성 각 Series의 인덱스 -> column a = pd.Series([100, 200, 300], ['a', 'b', 'd']) b = pd.Series([101, 201, 301], ['a', 'b', 'k']) c = pd.Series([110, 210, ..
1. DataFrame Series가 1차원이라면 DataFrame은 2차원으로 확대된 버젼 Excel spreadsheet이라고 생각하면 이해하기 쉬움 2차원이기 때문에 인덱스가 row, column로 구성됨 row는 각 개별 데이터를, column은 개별 속성을 의미 train_data = pd.read_csv('./train.csv') # 타이타닉 데이터를 통해 실습 2. head, tail 함수 데이터 전체가 아닌, 일부(처음부터, 혹은 마지막부터)를 간단히 보기 위한 함수 train_data.head(n=3) train_data.tail(n=6) 3. DataFrame 데이터 파악하기 shape 속성 (row, column) describe 함수 - 숫자형 데이터의 통계치 계산 info 함수 -..
1. Series 값 변경 추가 및 업데이트: 인덱스를 이용 삭제: drop함수 이용 s = pd.Series(np.arange(100, 105), ['a', 'b', 'c', 'd', 'e']) s ======================================================================== a 100 b 101 c 102 d 103 e 104 dtype: int64 s['a'] = 200 s ======================================================================== a 200 b 101 c 102 d 103 e 104 dtype: int64 s['k'] = 300 s ========================..
1. Boolean selection boolean Series가 []와 함께 사용되면 True 값에 해당하는 값만 새로 반환되는 Series객체에 포함됨 다중조건의 경우, &(and), |(or)를 사용하여 연결 가능 s = pd.Series(np.arange(10), np.arange(10)+1) s ======================================================================== 1 0 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 9 dtype: int64 s > 5 ======================================================================== 1 False 2 False 3 Fal..