Code Monkey home page Code Monkey logo

rent_analysis's Introduction

About

Post-Graduate Challenge in Data Analysis using Seaborn

Pairwise Relationships

The script pairwise_relationships.py generates a paired relationship plot that crosses information on the number of bedrooms, number of bathrooms, parking spaces, and total rent. The data is colored by the city of the property.

Pairwise Relationships

From the analysis of these relationships, it is observed, for example, in the fourth graph of the first row, that the city with the highest rent for a one-bedroom property is São Paulo.

Faceted Graph of Number of Bedrooms by City

The script faceted_graphic.py constructs a faceted graph by city mapping the number of bedrooms each city has. For this, the sns.countplot function was used as visualization for the subplots.

Number of Bedrooms by City

One result observed in the graph is the most frequent number of bedrooms in the apartments available in each of the cities. There are 3 bedrooms in São Paulo, Campinas, and Belo Horizonte, and 2 bedrooms in Porto Alegre and Rio de Janeiro.

Faceted Graph of Rent Price, by City, by Acceptance of Pets

The script animal_scatter.py constructs a faceted graph by cities (columns) and by the animal variable (rows) with the distribution of the total rent value.

Relationship between Rent Price and Acceptance of Pets

The graph allows us to analyze if there is any relationship between the rent price and whether the condominium accepts pets, but the lack of density hinders the analysis.

Therefore, the script animal_swarm.py was created to observe the density of the values.

Relationship between Rent Price and Acceptance of Pets Exposing Data Density

The graph with the data densities allows for a better conclusion of the relationship between the rent price and whether the condominium accepts pets. It is concluded that the number of apartments with higher rent values that accept pets is greater than the number that does not.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.