'How can I approach a function that creates plots based on the amount of columns specified>
Thanks for stopping by to my question..
Basically, I'm new to Python and I just started school and using it as well.
I am currently facing a challenge about making a linear regression model, but my question is geared towards taking a look at the data before actually putting it in the model.
So I had the great idea of making a function that can create several plots based on the values of a column and the number of columns given (just a basic histogram column to see how the data is distributed).
I kinda have an air of how to approach this (for loop, subplot function, changing position of the plot based on the number of plots) but I just can't figure out where to start and I freeze when trying to do this. I presume telling where the columns are located and the name of the columns that I want to plot would be my arguments.
Can anyone help me? Hopefully, I explained myself correctly. Thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
