python dictionaries exercises

Test Yourself With Exercises Now you have learned a lot about dictionaries, and how to use them in P...

python dictionaries copy

Copy a Dictionary You cannot copy a dictionary simply by typing dict2 = dict1, because: dict2 will...

python dictionaries change

Change Values You can change the value of a specific item by referring to its key name: Example...

python dictionaries access

Accessing Items You can access the items of a dictionary by referring to its key name, inside square...

pandas/default

Pandas is a Python library. Pandas is used to analyze data. Learning by Reading We have created 14 tutor...

module statistics

Python statistics Module Python has a built-in module that you can use to calculate mathematical stati...

module math

Python math Module Python has a built-in module that you can use for mathematical tasks. The math module...

matplotlib pyplot

Pyplot Most of the Matplotlib utilities lies under the pyplot submodule, and are usually imported under...

matplotlib plotting

Plotting x and y points The plot() function is used to draw points (markers) in a diagram. By default...

matplotlib intro

What is Matplotlib? Matplotlib is a low level graph plotting library in python that serves as a visuali...

matplotlib getting started

Installation of Matplotlib If you have Python and PIP already installed on a system, then installation...

matplotlib bars

Creating Bars With Pyplot, you can use the bar() function to draw bar graphs: Example Draw 4 bars:...

python ml polynomial regression

Polynomial Regression If your data points clearly will not fit a linear regression (a straight line...

python ml decision tree

Decision Tree In this chapter we will show you how to make a "Decision Tree". A Decision...

matplotlib subplots

Display Multiple Plots With the subplots() function you can draw multiple plots in one figure: Example...

matplotlib scatter

Creating Scatter Plots With Pyplot, you can use the scatter() function to draw a scatter plot. The...

matplotlib markers

Markers You can use the keyword argument marker to emphasize each point with a specified marker: ...

matplotlib line

Linestyle You can use the keyword argument linestyle, or shorter ls, to change the style of the plotte...

matplotlib labels

Create Labels for a Plot With Pyplot, you can use the xlabel() and ylabel() functions to set a label...

matplotlib grid

Add Grid Lines to a Plot With Pyplot, you can use the grid() function to add grid lines to the plot...