This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import numpy as np | |
from pandas import DataFrame | |
data = pd.read_csv('Haiti.csv') | |
data = data[(data.LATITUDE > 18) & (data.LATITUDE < 20) & | |
(data.LONGITUDE > -75) & (data.LONGITUDE < -70) | |
& data.CATEGORY.notnull()] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import numpy as np | |
from pandas import DataFrame | |
data = pd.read_csv('ch08/Haiti.csv') | |
data = data[(data.LATITUDE > 18) & (data.LATITUDE < 20) & | |
(data.LONGITUDE > -75) & (data.LONGITUDE < -70) | |
& data.CATEGORY.notnull()] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ========= 표시 관련 ========= | |
set number | |
set ruler | |
set wrap " 화면에서만 줄 접기 (실제 개행 X) | |
set linebreak " 단어 경계에서 접기 | |
set scrolloff=15 | |
" ========= 창 분할 ========= | |
set splitbelow | |
set splitright |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1="[\u@\[\e[37;1m\]\h \[\e[0m\]\W]\$ " | |
export TERM="xterm-256color" | |
export VISUAL=/usr/bin/vim | |
export EDITOR=/usr/bin/vim | |
export LANG="en_US.UTF-8" | |
export LC_ALL="en_US.UTF-8" | |
export TZ="Asia/Seoul" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~ | |
if [[ -f ".vimrc" ]]; then | |
mv .vimrc .vimrc_old | |
fi | |
curl -s https://gist.githubusercontent.com/dalguji/6d3f8e3242414a9fdacb/raw > .vimrc | |
if [[ -f ".bash_profile" ]]; then | |
mv .bash_profile .bash_profile_old |