Skip to content

Instantly share code, notes, and snippets.

View seaborn_plot_without_set.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dragstar328
dragstar328 / seaborn_plot_with_set.ipynb
Last active Apr 10, 2018
seabornをimportしたらset()する
View seaborn_plot_with_set.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dragstar328
dragstar328 / legend_test.ipynb
Created Jan 9, 2018
seabornを使ったプロットの凡例を見やすく
View legend_test.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dragstar328
dragstar328 / pandas_to_sklean.ipynb
Last active Dec 27, 2017
pandasからnparrayに直す手習い
View pandas_to_sklean.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dragstar328
dragstar328 / pickle_test.ipynb
Created Dec 26, 2017
Pickleとjoblibのテスト
View pickle_test.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View matplotloib_sample.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View py_kinji.py
import pandas as pd
from matplotlib import pyplot as plt
import seaborn as sns
import numpy as np
from scipy import optimize as opt
kion = pd.read_csv("kion_20160501.csv")
kion.head()
Px = np.arange(0, len(kion), 1)
@dragstar328
dragstar328 / kion_kinji.r
Last active May 18, 2016
気温の近似曲線を描く
View kion_kinji.r
library(ggplot2)
kion = read.csv("kion_20160501.csv", header = T, colClasses = c("POSIXct", "numeric"))
head(kion)
summary(kion)
g = ggplot(kion, aes(1:nrow(kion), temp)) + geom_line(colour="blue") + labs(title="2016/05/01")
plot(g)
x = 1:nrow(kion)
View ggpairs_color.r
library(ggplot2)
library(GGally)
ggpairs(iris, aes_string(colour="Species", alpha=0.5))
View ggpairs_bw.r
library(GGally)
ggpairs(iris, colour="Species", alpha=0.5)
You can’t perform that action at this time.