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
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. | |
# User-specific files | |
*.suo | |
*.user | |
*.userosscache | |
*.sln.docstates | |
# User-specific files (MonoDevelop/Xamarin Studio) |
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
from sklearn.datasets import load_iris | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
iris_bunch = load_iris() | |
df = pd.DataFrame(iris_bunch.data, columns=iris_bunch.feature_names) | |
df['target'] = pd.Series(pd.Categorical.from_codes(iris_bunch.target, categories=iris_bunch.target_names)) | |
group_label = 'target' | |
target_label = 'sepal width (cm)' |
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
key_value = {} | |
key_value['course'] = course | |
key_value['number'] = grid | |
key_value['year'] = year | |
series = pd.Series(list(key_value.values()), index=key_value.keys()) | |
df = df.append(series, ignore_index = True) |
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
/// <summary> | |
/// <see cref="BaseGameInfo.SaveDataBase"/>をテストします。 | |
/// </summary> | |
/// <remarks> | |
/// TeamCityだと失敗するので、Category属性を付与 | |
/// </remarks> | |
[Category("BuildServerIgnore")] | |
[Test] | |
public void SaveDatabase() | |
{ |