This file contains 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
test |
This file contains 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
x <- 1:10 | |
y <- 1:10 # plot(x 軸のデータ, y 軸のデータ, オプション) | |
plot(x, y) # 範囲は自動で決まる(xlim=c(1,10)を指定した場合と同じ) | |
plot(x, y, xlim=c(10,1)) # x 軸の正の向きを左向きにすることも出来る |
This file contains 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
$ brew doctor |
This file contains 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
$ xcode-select —install |
This file contains 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
$ adb devices |
This file contains 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
install.packages("tidyr") | |
library(tidyr) |
This file contains 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
pip install jira |
This file contains 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
def dup(df, columns=['columns_name']): | |
return df.duplicated(subset=columns) | |
def dup_count(df, columns=['columns_name']): | |
return df.duplicated(subset=columns).value_counts() | |
def vcount(df): | |
return df.value_counts() | |
def count(df): |
This file contains 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
id | order_at | menber_id | item_id | count | price | |
---|---|---|---|---|---|---|
1 | 2015/7/2 | 56 | 71 | 1 | 4200 | |
2 | 2015/7/2 | 70 | 17 | 1 | 2300 | |
3 | 2015/7/2 | 74 | 14 | 1 | 100 | |
4 | 2015/7/2 | 78 | 43 | 1 | 1000 | |
5 | 2015/7/2 | 79 | 55 | 1 | 100 | |
6 | 2015/7/2 | 82 | 84 | 1 | 200 | |
7 | 2015/7/3 | 61 | 100 | 1 | 700 | |
8 | 2015/7/3 | 72 | 31 | 1 | 5000 | |
9 | 2015/7/3 | 75 | 97 | 1 | 1000 |
OlderNewer