목록전체 글 (59)
개발하고 싶어요
In [1]: import pandas as pd import numpy as np from IPython.core.interactiveshell import InteractiveShell InteractiveShell.ast_node_interactivity = 'all' 판다스 자료 구조 소개¶ Series¶ Series 일련의 객체를 담을 수 있는 1차원 배열 같은 자료구조이다 색인(index)라 하는 배열의 데이터와 연관된 이름을 갖는다 왼쪽은 색인, 오른쪽은 해당 색인의 값 In [4]: from pandas import Series, DataFrame s1 = pd.Series([4, 7, -5, 3]) s1 Out[4]: 0 4 1 7 2 -5 3 3 dtype: int64 In [5]: s..

1. 일대일 관계에서 학생과 그들의 개인 정보를 모델링하세요. 학생 컬렉션 생성 db.student.insertMany([ {'_id' : ObjectId(), 'name' : 'maria', 'personal_info_id' : 101}, {'_id' : ObjectId(), 'name' : 'yun', 'personal_info_id' : 202}, {'_id' : ObjectId(), 'name' : 'jin', 'personal_info_id' : 303}]); 개인정보 컬렉션 생성 db.personal_info.insertMany([ {'_id' : 101, 'address' : '서울', 'phone_number' : '010-1111-1111'}, {'_id' : 202, 'address' ..
https://github.com/dbfla3831/study/blob/main/ML/%EC%BA%98%EB%A6%AC%ED%8F%AC%EB%8B%88%EC%95%84%20%EC%A3%BC%ED%83%9D%20%EA%B0%80%EA%B2%A9%20%EC%98%88%EC%B8%A1.ipynb 필요 라이브러리 불러오기¶ In [1]: from IPython.core.interactiveshell import InteractiveShell InteractiveShell.ast_node_interactivity = 'all' import warnings warnings.filterwarnings('ignore') import pandas as pd import numpy as np import matplotli..