Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

[Need Help] How to create a histogram for certain conditional statements

$
0
0

I have been working on a case study project using Airbnb (Amsterdam) dataset in which I have to answer a business question which is “Plot a histogram of overall_satisfaction where the price is greater than equal to 100 and less than equal to 200” where overall_satisfaction and price are the features of the dataset. I have tried to filter the data first and store that into a variable and pass that variable to hist function as x value which gives me an error. So I’m stuck how can I solve this issue I tried almost everything on stackover flow and it stills gives an error. I’m using matplotlib to visualize it. so any help how can I visualize it using matlpoltlib.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles