Skip to content
This repository was archived by the owner on Dec 13, 2022. It is now read-only.
This repository was archived by the owner on Dec 13, 2022. It is now read-only.

Task - 7: PDF plotting #19

@parth1007

Description

@parth1007

In this task, you need to create a function that plots PDF for a column.
Sounds easy, right?!!

The challenge is, you cannot use functions from any predefined plotting libraries.
You can use only plt.plot() to plot the curve and of course, NumPy and pandas are allowed.

The function will go as follows:

def plot_pdf(column_name,width,df=df,hue='popularity'):

'''
Write your code here to
'''

This should plot two different curves for the data corresponding to the label 'High' and 'Low'.
'width' is the bandwidth of the PDF.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions