일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- SVN
- Eclipse
- boost
- Unity
- SSH
- with
- ngui
- mysql
- python
- awk
- if
- C++
- null
- DROP
- 배열
- expect
- sql
- dataframe
- Shader
- conda
- autovacuum
- ubuntu
- 쉘
- postgresql
- sqlite
- c++11
- pandas
- FIND
- List
- pi
- Today
- Total
목록프로그래밍 (242)
その先にあるもの…
TreeNode rootNode = CreateNode( root ); tree.Nodes.Clear(); tree.Nodes.Add(rootNode); private TreeNode CreateNode(JToken token, string name = "") { TreeNode node = new TreeNode(name); if (token is JValue valueToken) { node.Text = valueToken.Value.ToString(); } else if (token is JObject objectToken) { node.Text = string.IsNullOrEmpty(name) ? "Object" : name; foreach (var prop in objectToken.Prope..
string str = "[{\"id\":\"QZ97329285DA\",\"ndex\":43,\"overlap\":0,\"max\":1,\"multiple\":0,\"block\":null}]"; List Datas = JsonConvert.DeserializeObject(str); Datas.block은 null로 되어 있음. [JsonProperty("block")] public int? Block{ get; set; } = 0; 이 방법도 null나옴. 값에 null값을 명시적으로 넣어줘서 그렇다는데 DB에서 넘겨주는 값이 null인데 곤란하네. 깔끔하지 않는데 어쩔 수 없다. [JsonProperty(PropertyName = "block")] public int? block { get { ret..
https://www.postgresql.org/docs/current/functions-array.html#ARRAY-FUNCTIONS-TABLE array_length ( anyarray, integer ) → integer Returns the length of the requested array dimension. (Produces NULL instead of 0 for empty or missing array dimensions.) array_length(array[1,2,3], 1) → 3 array_length(array[]::int[], 1) → NULL array_length(array['text'], 2) → NULL array_replace ( anycompatiblearray, an..
html에 있는 table속성에 해당하는 값을 가져올 수 있다. 웹페이지에 있는 테이블을 모두 가져오거나 특정한 테이블을 가져올 수 있다. 리턴되는 객체는 리스트이다. table = pd.read_html( 주소 ) table[0] import pandas as pd pandas.read_html(URL, match='.+', flavor=None, header=None, index_col=None, skiprows=None, attrs=None, parse_dates=False, tupleize_cols=None, thousands=', ', encoding=None, decimal='.', converters=None, na_values=None, keep_default_na=True, display..
메타문자 설명 PCRE VIM 메타문자 알파벳 대문자 [A-Z] \u [[:upper:]] 알파벳 소문자 [a-z] \l [[:lower:]] 알파벳 대소문자 [A-Za-z] \a [[:alpha:]] 16진수 [0-9A-F]{2} \x [[:xdigit:]] 알파벳,숫자 [0-9A-Za-z] [0-9A-Za-z] [[:alnum:]] 알파벳,숫자,_ [_0-9A-Za-z] \w [[:word:]] 숫자 \d \d [[:digit:]] 빈칸과 탭 [ \t] [[:blank:]] 공백(탭, 줄바꿈 문자 포함) \s [[:space:]] 출력가능문자(공백포함) \p [[:print:]] 출력가능문자(공백제외) [[:graph:]] 출력 가능한 특주 문자 [[:punct:]] 제어 문자 [[:cntrl:]] ..
EXPORT 1. 전체 테이블 COPY TABLENAME TO 'PATH/FILENAME.csv' WITH DELIMETER '구분자(,/|)' CSV HEADER ENCODING 'UTF8'; 2. 특정 컬럼 Copy TABLENAME(column1, column2, ...) To 'PATH/FILENAME.csv' WITH DELIMITER '구분자(,/|)' CSV HEADER ENCODING 'UTF8'; 3. SELECT문 Copy (SELECT * FROM TABLENAME where level=50 ) To 'PATH/FILENAME.csv' WITH DELIMITER '구분자(,/|)' CSV HEADER ENCODING 'UTF8'; IMPORT copy TABLENAME(column1,..