Get yourself some Toy-Data
I wrote a little Code Snippet that returns the “California Housing” dataset provided by
sklearn
as a namedpandas
dataframe. Ready for you to use in your applications.
1 | import numpy as np |
I need some Data - Now!
Often times, we come up with an idea for a visualization or simply want to try out a new model we have heard off. In short: We need data.
However, this can sometimes become a tedious problem as a real world dataset might need additional cleaning, which can be too much effort for a short test or playing around. Here, a toy dataset can come in handy. There are tons of toy-data sets out there, many good ones presented by the sklearn.dataset
module. In the example above I remodel the arrays provided by fetch_california
into a pd.DataFrame
.
For more information on the “California Housing” dataset visit sklearn.datasets.fetch_california
.