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...

python datetime

Python Dates A date in Python is not a data type of its own, but we can import a module named datetime...

python datatypes

Built-in Data Types In programming, data type is an important concept. Variables can store data of...

python conditions

Python Conditions and If statements Python supports the usual logical conditions from mathematics: ...

python compiler

Python Compiler (Editor) With our online Python compiler, you can edit Python code, and view the result...

python comments

Comments can be used to explain Python code. Comments can be used to make the code more readable. Comme...