From the course: Python in Excel: Data Outputs in Custom Data Visualizations and Algorithms
Unlock this course with a free trial
Join today to access over 25,400 courses taught by industry experts.
Creating Python visuals
From the course: Python in Excel: Data Outputs in Custom Data Visualizations and Algorithms
Creating Python visuals
- Common libraries for creating Python Visuals include maplotlib and seaborn. There are also libraries that include functions for creating data visualizations like scipy and pandas. Let's explore a few of them. Let's use our average city temperatures again to create our first Python visuals. We first import the libraries we want to use to create Python visualizations. We import the dendrogram function from the cluster section of the scipy library, as well as the pyplot section at the matplotlib library, and the entire seaborn library. I've already run this code along with the steps for the ETL framework to get the data into the model. We can now create a visual with it like a bar chart. In this first example, I'm going to tap into the matplotlib functions that are available as part of the pandas library as well. Let's create a horizontal bar chart to rank the average temperatures by California City. For those familiar with MATLAB, matplotlib uses much of the same logic. We first…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Visualizing data1m 35s
-
(Locked)
Leveraging Excel line charts3m 58s
-
(Locked)
Leveraging Excel scatter plots5m 21s
-
(Locked)
Configuring Python in Excel with dynamic parameters4m 32s
-
(Locked)
Creating Python visuals2m 13s
-
(Locked)
Visualizing hierarchical clustering with dendrograms6m 43s
-
(Locked)
Breaking down time series models into components5m 29s
-
(Locked)
Challenge: Comparing time series components to anomalies50s
-
(Locked)
Solution: Comparing time series components to anomalies4m 56s
-
-