Coder Social home page Coder Social logo

pandas's Introduction

pandas demo lab

Video Game Sales - Sales data from more than 16,500 games

In the vg-stats notebook answer the following questions/do the following tasks. Note that the numbers quoted for sales are in the millions, and apply only for those games with over 10,000 sales.:

[x]Which company is the most common video game publisher?

Electronic Arts

[x]What’s the most common platform?

  DS 

[x]What about the most common genre?

  Action 

[x]What are the top 20 highest grossing games?

0 Wii Sports

1 Super Mario Bros.

2 Mario Kart Wii

3 Wii Sports Resort

4 Pokemon Red/Pokemon Blue

5 Tetris

6 New Super Mario Bros.

7 Wii Play

8 New Super Mario Bros. Wii

9 Duck Hunt

10 Nintendogs

11 Mario Kart DS

12 Pokemon Gold/Pokemon Silver

13 Wii Fit

14 Wii Fit Plus

15 Kinect Adventures!

16 Grand Theft Auto V

17 Grand Theft Auto: San Andreas

18 Super Mario World

19 Brain Age: Train Your Brain in Minutes a Day

[x]For North American video game sales, what’s the median?

0.08

[x]Provide a secondary output showing ten games surrounding the median sales output assume that games with same median value are sorted in descending order?

[]For the top-selling game of all time, how many standard deviations above/below the mean are its sales for North America?

[]The Nintendo Wii seems to have outdone itself with games. How does its average number of sales compare with all of the other platforms?

[]Come up with 3 more questions that can be answered with this data set.

1- #question1

std_for_higher_sales=data['NA_Sales'].std()
std_for_higher_sales

2- #question2 data[['Name','NA_Sales','Publisher']].groupby('Name').median()

3- Question3

median_game_sales = data['Global_Sales'].median()
median_game_sales

highly_ten_games=data[data['Global_Sales']==median_game_sales].head(10)
highly_ten_games

pandas's People

Contributors

ashrf288 avatar

Watchers

 avatar

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.