代码碎片1
#!/usr/bin/python # please add your code here! import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as pl from pandas import Series, DataFrame import pandas as pd import numpy as np from sklearn import datasets #iris = datasets.load_iris(); #print iris; digits = datasets.load_digits(); print digits.images.shape; #pl.imshow(digits.images[-1], cmap=pl.cm.gray_r); #pl.savefig("o.png");