
INTRO 1. 반복문 : iterational code block 2. 조건문 : conditional code block 3. 사용자 정의 함수 : costomized function 1. 반복문 for for (i in range) { print(i) } while x = 1 while ( x= 50) over50[i] = 1 else over50[i] = 0 } print(rand_a) print(over50) cat("count for results : ",sum(over50),"\n") 출력결과 > source("~/Rcoding/test_conditional_code_block.R", echo=TRUE) > rm(list = ls()) > # setwd("/Users/[YourMacID]/R..
INTRO 함수와 메서드를 구분하면 mothod는 class의 object로 호출되며 .function() 형태로 작동 function()은 def f(): return 형태로 구성되며 직접 만든 형태를 사용자 정의 함수라 구분 함수(function), 메서드(method : Class 내 함수)를 .py로 저장하여 만든 파일을 module로 구분 package(패키지) : 하나 이상 module의 directory(or foler) 묶음 또는 library 배포 관점의 의미 하나 이상의 package와 module 묶음을 library로 구분 (참고) import 방법 : library, package, module, function, class 1. method Class module을 만들어 met..

INTRO 0. 용어설명 : Class/Object, Method/Function, Library/Package/Module 1. python code 작성에 필요한 기본 문법 print(), type(), format() : print()는 함수, .format() 형태로 사용되는 함수는 메서드(method)라 구분 annotation, indentation, colon, semi-colon, comma single/double/triple quotes(quotation mark) escape sequences for special charactors : \n, \t, \\, \', \" 0. 용어 Class/Object(or Instance) Class(클래스) : Object를 만들어내는 설계도에 ..
- Total
- Today
- Yesterday
- SSH
- ERP
- Django
- template
- Pandas
- server
- analysis
- Raspberry Pi
- r
- 코로나19
- github
- 확진
- pyserial
- git
- 코로나
- MacOS
- CSV
- sublime text
- arduino
- DAQ
- COVID-19
- DS18B20
- Templates
- vscode
- Python
- Regression
- 자가격리
- 라즈베리파이
- raspberrypi
- Model
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |