Generating Mock Data

You may find yourself in a situation where you’d like to generate mock data, like when writing a blog post series on taking a pipeline and model to production. Luckily numpy and pandas makes this task incredibly easy. For my use case, I wanted to generate a Pandas DataFrame with one independent column temperature_celsius and one dependent column ice_cream_sales_euro. The goal was to make a data set where temperature_celsius would affect ice_cream_sales_euro....

April 12, 2020 · 2 min · Greg Hilston