Lecture 5 - Data Visualization with Matplotlib and Seaborn

Lecture video & notebook:

Please use this thread for asking questions.

1 Like

Who’s here for the lecture?


how we add a csv file present locally in my PC

1 Like

5 posts were split to a new topic: Can we get the exact values by hovering on the marker point?

you have to import pandas as pd for reading the csv file as pd.read_csv(“file name”)
try this it will help.

1 Like

i mean how to read it on binder?

1 Like

If we get a graph, can we create a dataframe/csv from graph ?

2 posts were split to a new topic: How to save Jovian.ml Notebooks to a GitHub Repo?

binder is a plateform or the service provider to run your jupyter notebook , but as the explained method is the only way to get read your csv file. (locally) or you can do the use of
flowers_df = sns.load_dataset(“iris”)
which load the data as shown in the notebook.
hope this will help.

You will have to upload it first.

1 Like

I don’t think there are straight forward way for this. Since graphs are images it is definitely not possible, probably you can get the values from that plot object.

If we want to show graph or bin to horizontal line or along X-axis?

1 Like

like this How can this happen?

Check out orient argument in seaborn and orientation in matplotlib

this will help for sure :sweat_smile:

I didn’t got what is ‘variation’ in Bar chart? (line above the bar)

variation means changes between bars. this means that how two bar or plots vari from each other.

Variation means that How two bars or plots vari from each other.
Variation means changes between two bar.

If I want to use my Jupyter notebook for presentation, how can I hide code cells and keep only visualization/graphs? … write a blog using real dataset.