Colab Data Visualizations Made Easy
If you’ve never found visualizing your data challenging, you can stop reading now. For everyone else, the Google Colab team is excited to announce automated generation of plots from Pandas DataFrames! One click gets you a palette of suggested plots for your DataFrame, and clicking on any plot inserts the corresponding code into your notebook.
To get the auto-plotting button to display, run a code cell which finishes with a line that lists an existing DataFrame, which will then display this icon on the bottom right of your cell output:
If you find a generated plot useful, the auto-plotting feature can provide the the supporting code and even insert it directly into a new cell in your notebook, allowing you to save and configure the plot to your liking.
Here’s a sample notebook you can use to try the feature for yourself. Let us know how you’re using this feature in the comments below and keep on visualizing!