Intro - Editor : sublime text3 - python 3.9.1 - numpy 1.19.4 - xlrd 2.0.1 - openpyxl 3.0.5 Data row col x y d x y xs ys 1 1 -300 300 1 -301 302 2 4 2 -250 300 1 -251 302 2 4 3 -200 300 1 -201 302 2 4 4 -150 300 1 -151 302 2 4 5 -100 300 1 -101 302 2 4 6 -50 300 1 -51 302 2 4 7 0 300 1 -1 302 2 4 8 50 300 1 49 302 2 4 9 100 300 1 99 302 2 4 10 150 300 1 149 302 2 4 11 200 300 1 199 302 2 4 12 250..
Intro - Editor : sublime text3 - python 3.9.1 - numpy 1.19.4 Data -300 300 1 -301 302 2 4 -250 300 1 -251 302 2 4 -200 300 1 -201 302 2 4 -150 300 1 -151 302 2 4 -100 300 1 -101 302 2 4 -50 300 1 -51 302 2 4 0 300 1 -1 302 2 4 50 300 1 49 302 2 4 100 300 1 99 302 2 4 150 300 1 149 302 2 4 200 300 1 199 302 2 4 250 300 1 249 302 2 4 300 300 1 299 302 2 4 Directory Tree . ├── data └── test1.csv └─..
Intro - Editor : sublime text3 - python 3.9.1 - pandas 1.2.1 - xlrd 2.0.1 - openpyxl 3.0.5 pandas, xlrd, openpyxl version 확인방법 참고 : (macOS)[python] Pandas Excel 다루기 - 1 : excel 읽기, 저장, df 분석 # -*- coding: utf-8 -*- import os import pandas as pd #### dir base fpath_base = './data' #### file_name, sheet_name fnames = ('A_file.csv') #### file_dir_base fpath_bases = [os.path.join(fpath_base,fname) f..

Intro - Editor : sublime text3 - python 3.9.1 - pandas 1.2.1 - xlrd 2.0.1 - openpyxl 3.0.5 pandas 기반 통계분석 statsmodel module 사용법 사이트 www.statsmodels.org/stable/index.html Data Time Depth3 2 0.050 5 0.150 8 0.270 12 0.36 15 0.47 17 0.52 Directory Tree . ├── RegressionAnalysis_Engine.py ├── data ├── test1.csv └── test1.xlsx RegressionAnalysis_Engine.py # -*- coding: utf-8 -*- import os import panda..
Intro - Editor : sublime text3 - python 3.8.1 - pandas 1.0.1 - xlrd 1.2.0 : excel read - openpyxl 3.0.3 : excel save pandas에서 excel을 다루기 위해서 xlrd,openpyxl module이 필요하다. import pandas as pd df = pd.read_excel('fname',sheet_name='sheet_name') ImportError: Missing optional dependency 'xlrd'. Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd. ## python3 & modules(pandas, xlrd,..
os.listdir로 directory file name을 불러올 때 .DS_Store가 존재하고 있었다. 네트워크 상 파일 이동 시 자동으로 생성되는 파일이었으며, 이를 삭제하는 방법은 다음과 같다. 네트워크 볼륨에서 .DS_Store 생성 차단 $ defaults write com.apple.desktopservices DSDontWriteNetworkStores true OS X 볼륨에서 .DS_Store 찾아서 삭제하기 $ sudo find / -name ".DS_Store" -depth -exec rm {} \; 일정 주기(아래 코드는 8:00)로 OS X 볼륨에서 .DS_Store 찾아서 삭제하기 sudo crontab -e i (insert) 00 8 * * * root find / -nam..
- Total
- Today
- Yesterday
- Python
- 확진
- MacOS
- vscode
- pyserial
- template
- DAQ
- r
- sublime text
- arduino
- Pandas
- Templates
- Regression
- 코로나
- Django
- github
- CSV
- Model
- SSH
- raspberrypi
- 자가격리
- 라즈베리파이
- COVID-19
- Raspberry Pi
- DS18B20
- 코로나19
- server
- git
- analysis
- ERP
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |