| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- vaadin
- tomcat
- hadoop
- 보조정렬
- 공정능력
- mapreduce
- NPM
- xPlatform
- IntelliJ
- Android
- window
- GIT
- MSSQL
- SQL
- R
- react
- Express
- SSL
- Java
- JavaScript
- SPC
- Spring
- Kotlin
- Sqoop
- mybatis
- Python
- Eclipse
- es6
- table
- plugin
- Today
- Total
목록python (28)
DBILITY
R의 dataframe을 사용해 봤는데, 기억이 나질 않는다.^^; 공식문서를 참조하자. https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html pandas.DataFrame — pandas 1.3.3 documentation Column labels to use for resulting frame when data does not have them, defaulting to RangeIndex(0, 1, 2, …, n). If data contains column labels, will perform column selection instead. pandas.pydata.org 2차원의 변경 가능하고 칼럼 별로 다른 데이터 타입의 저장이 ..
이거 보고 광고 한번 안 누른 이는 삼대가 재수가 없을지어다!ㅋㅋ 누르면 오십억게임 최후 승자가 된다! https://developers.naver.com/docs/papago/papago-nmt-example-code.md#python https://developers.naver.com/docs/papago/papago-nmt-example-code.md#python developers.naver.com naver developer센터에 가입을 해야 한다. 거의 10년 만에 네이버 아이디가 다시 생기다니. 흠. API 구현 예제를 통째로 붙여 넣고 발급받은 클라이언트 아이디와 키값을 변경 후 json format의 response data를 dictionary로 변환, 번역된 문장만 출력했다. impo..
raw_data를 dataframe으로 변환 후 pie chart에 plotting할 데이터는 pandas로 group by를 했다. 별도로 pandas학습이 필요하겠다. import random import matplotlib.pyplot as plt from pandas import DataFrame raw_data = { 'observation': range(0, 20), 'individual_value': [0.529, 0.55, 0.555, 0.541, 0.559, 0.543, 0.557, 0.559, 0.581, 0.551, 0.493, 0.534, 0.527, 0.511, 0.565, 0.559, 0.519, 0.562, 0.551, 0.53 ] } data = DataFrame(raw_da..
그냥 해봤다. 상세한 옵션들은 매뉴얼을 참고. figure로 chart의 크기를 바꿀 수 있다. figzie=(10,5)에서 tuple 값은 inch(?) 다른 차트들은 공식사이트 Examples를 참고 https://matplotlib.org/stable/gallery/index.html Gallery — Matplotlib 3.4.3 documentation Gallery This gallery contains examples of the many things you can do with Matplotlib. Click on any image to see the full image and source code. For longer tutorials, see our tutorials page. You ..
R plot을 사용해봤거나 여타 차트를 많이 다룬 경우 이해가 쉽다. 데이터는 Dictionary로 plotting 할 데이터를 선언하고, dataframe으로 변환(생성)해서 사용한다. 공식 사이트 매뉴얼을 참고해서 테스트해보면 된다. matplot color code 참고 ( https://matplotlib.org/stable/gallery/color/named_colors.html ) 다른 차트들은 공식 사이트 Examples를 참고 https://matplotlib.org/stable/gallery/index.html import matplotlib.pyplot as plt from pandas import DataFrame # data dictionary raw_data = { 'observa..