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?

20 Likes

how we add a csv file present locally in my PC

1 Like

Can we get the exact values by hovering on the marker point??

2 Likes

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

No we cannot get values simply by hovering. You can anticipate that by looking at the grid.

Seaborn and Matplotlib renders a image for a graph. So it won’t be interactive, you can check out plotly https://plotly.com/python/ for interactive plots.

2 Likes

i mean how to read it on binder?

1 Like

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

I want to save my commited notebooks of jovain.ml account to my github account? Anyone knows how to do that?

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.

1

You should be in a git repo for this to happen.
https://jovian.ml/docs/integrations/github.html

jovian.commit(message="jovian version commit message",
              git_message="git commit message",
              git_commit=True)

This would do git commit along with jovian commit.

You can then git push to github or gitlab based on your credentials.

1 Like

@aakashns can you explain this??

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

1 Like

bin
like this How can this happen?

Check out orient argument in seaborn and orientation in matplotlib