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..
0. apt update & upgrade $ sudo apt update $ sudo apt upgrade 1. samba package install $ sudo apt install samba samba-common 2. 공유폴더 생성 $ sudo mkdir /media/[Name] $ sudo chmod 777 /media/[Name] 3. /etc/samba/smb.conf 수정 $ sudo nano /etc/samba/smb.conf --windows 연결 시 : macos pass wins wupport = yes [raspi hostname] path = /media/[Name] browseable = Yes writeable = Yes only guest = no guest ok = no..

참고 : 2022년 3월 최신버전 install 방법 klayout 0.26.0 buid : macOS Big Sur 지원 www.klayout.de/build.html - klayout module 사용하기 $ brew upgrade $ pip3 install --upgrade pip $ pip3 install klayout - 2020.01.25 수정 : pya module은 "Python audio coding classes"로 klayout의 module과 다름 $ brew install portaudio $ pip3 install pya # portaudio와 pya를 pip3 uninstall 후 실행됨 확인 import klayout.db as pya layout = pya.Layout() ..
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,..
1. class 생성 : Naming public # public class Naming: def __init__(self,head,tail): self.head = head self.tail = tail def get_name(self,head_name,tail_name): self.head = head_name self.tail = tail_name def get_info(self): print(self.head, self.tail) def __del__(self): print('Name object is deleted') # Use class object = Naming(head,tail) # Use delete del object protected : single underscore # prote..
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..
$ brew update $ brew install pyenv $ nano .zshrc --nanoEditor export PYENV_ROOT=/usr/local/var/pyenv if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi --nanoEditor $ source .zshrc $ exec "$SHELL" $ pyenv install --list $ pyenv install 3.8.1 -> .pyenv/versions/3.8.1 생성 $ pyenv shell 3.8.1 $ pyenv glob..
- Total
- Today
- Yesterday
- COVID-19
- server
- 라즈베리파이
- git
- r
- sublime text
- Raspberry Pi
- vscode
- github
- 자가격리
- Python
- SSH
- raspberrypi
- 확진
- Model
- DAQ
- DS18B20
- analysis
- 코로나
- template
- arduino
- Pandas
- 코로나19
- Templates
- MacOS
- CSV
- Django
- pyserial
- ERP
- Regression
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |