본문 바로가기

728x90
반응형

Major-

(865)
[C++ 실습] 4장-08. 포인터, 배열, 포인터 연산 #include using namespace std; int main() { double wages[3] = { 10000.0, 20000.0, 30000.0 }; short stacks[3] = { 3,2,1 }; //배열의 주소를 알아내는 두 가지 방법 double* pw = wages; //배열 이름 = 첫번째 원소의 주소 short* ps = &stacks[0]; //배열 원소에 주소 연산자 사용 cout
[빅데이터 분석 프로젝트] 마크다운으로 따릉이 데이터 분석 보고서 작성하기 -Part 1 따릉이 데이터 분석¶ 따릉이 데이터를 이용해 데이터 클린징 실습¶ 데이터 분석 순서¶ 데이터 백업 데이터 보기 [파생 변수 만들기] 데이터 클린징 [결측 데이터 대체하기] 결측 데이터¶ 이상 데이터¶ 중복 데이터¶ 결측 데이터¶ 결측 데이터 확인¶ In [2]: import pandas as pd file_path = 'C:\\users\\jihoon\\bigdata\\6장데이터\\bicycle.csv' df=pd.read_csv(file_path, engine='python') In [3]: df Out[3]: 자전거번호 대여일시 대여소번호 대여소명 대여거치대 반납일시 반납대여소번호 반납대여소명 반납거치대 이용시간 이용거리 0 SPB-23220 2019-11-01 8:48 646 장한평역 1번출구 (국..
[에러잡기] UnicodeDecodeError가 뜰 때 데이터 불러오기 중 UnicodeDecodeError이 뜬다면 인코딩 설정을 해야한다. encoding="euc_kr"
[빅데이터 분석 프로젝트] 마크다운으로 팁 데이터 분석 보고서 작성하기 -Part 1 팁 데이터 분석¶ 팁 데이터를 이용해 데이터 보기 실습¶ 데이터 분석 순서¶ 데이터 백업 데이터 보기 [파생변수 만들기] 데이터 클린징 범주형 분석 방법¶ 빈도분석 교차분석 In [4]: #라이브러리 불러오기 import pandas as pd import seaborn as sns In [5]: #데이터 불러오기 tips=sns.load_dataset("tips") #팁 데이터 In [6]: #데이터 보기 tips Out[6]: total_bill tip sex smoker day time size 0 16.99 1.01 Female No Sun Dinner 2 1 10.34 1.66 Male No Sun Dinner 3 2 21.01 3.50 Male No Sun Dinner 3 3 23.68 3.3..
[웹프로그래밍 실습] 2. 월드와이드웹과 HTML 1-1) 웹페이지 요청하기와 소스 보기 1-2) HTML 기본문서 작성과 실행하기 example 1-2 example 1-2 2-1) 제목과 문단 태그 활용 example 2-1 html example hello world hello world hello world hello world hello world hello world 2-2) 텍스트 관련 태그 활용 bold text strong text italic text emphasized text mark text small text deleted text inserted text This is superscript text This is subscript text 2-3) 목록 만들기 Unordered List Coffee Tea Milk Ordere..
[C++ 실습] 4장-07. 포인터와 메모리 해제 #include using namespace std; int main() { int donuts = 6; //4바이트 자료형 double cups = 4.5; //8바이트 자료형 cout
[C++ 실습] 4장-04. 구조체 #include using namespace std; struct inflatable { char name[20]; float volume; double price; }; int main() { inflatable guest { "Glorious Gloria", 1.88, 29.99 }; inflatable pal { "Audacious Arthur", 3.12, 32.99 }; cout
[C++ 실습] 4장-03. String 클래스 #include #include using namespace std; int main() { char charr1[20]; char charr2[20] = "jaguar"; string str1; string str2 = "panther"; cout > charr1; cout > str1; cout

728x90
반응형