[Tutor] Creating a DataFrame from excel file

2018-02-09 Thread Charlotte Hoff Sonne
I wish to create a very large data frame with pandas. So far, I have learned how to create data frames by manually entering the values I want in my data frame. However, now I have a large dataset from excel that I want to get imported as a data frame in jupyter notebook. Initially i wrote the fo

[Tutor] Barplot order-arrangement

2018-02-12 Thread Charlotte Hoff Sonne
Hi, I have created a barplot in Python. Now I want to arrange the order of the bars differently. I want them to be ordered from highest to lowest - how do I do that? Furthermore, I would like the names of the bars to be vertical - how do I do that? This is the code I have written: sns.barplot(

[Tutor] Barplot order-arrangement

2018-02-13 Thread Charlotte Hoff Sonne
Hi, I have created a barplot in Python 3.6.3 on my Mac OS. Now I want to arrange the order of the bars differently. I want them to be ordered from highest to lowest - how do I do that? Furthermore, I would like the names of the bars to be vertical - how do I do that? This is the code I have wr