Pandas Plot (With Examples) - Programiz
https://www.programiz.com/python-programming/pandas/plot
WEBWe use the plot() function to line plot the data, which takes two arguments; x and y coordinate. Let's look at an example. import pandas as pd. import matplotlib.pyplot as plt. car = ["Caterham", "Tesla", "Audi", "BMW", "Ford", "Jeep"] weight = [0.48, 1.7, 2, 2, 2.3, 3] # create a DataFrame . data = {'Car': car, 'Weight': weight}
DA: 38 PA: 96 MOZ Rank: 54