Giter Club home page Giter Club logo

python-data-science-projects's Introduction

Python Data Science Projects - Kyle Pu!

Welcome to my Python projects! These are a series of applications and programs I made to take advantage of all the great capabilities Python has to offer. You'll observe an exploration of Python fundamentals to Pandas data analysis and manipulation to scikit-learn machine learning models and a whole bunch of other, exciting tools!

Notes

This repo is a work in progress. I'll be continually learning and working on new projects. Feel free to check out the various branches.

Please reach out on LinkedIn if you'd like to chat, ask questions about my work, or have an open project to work on! Thanks for being here!

python-data-science-projects's People

Contributors

kyle-pu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

python-data-science-projects's Issues

.agg() Issue in NFL Suspensions Data Analysis Program

In groupingAndSorting.py, line 23 calls longSuspense = suspensions.groupby(['team']).games.agg([min, max]) which should gather data together by the team column and proceed to find the minimum and maximum number in the games column for each team.

Right now, however, the output shows some incorrect values for min and max. Also, some of the minimums are greater than the maximums for each team (e.g. for team ARI, it shows a minimum of 16 for games while showing a 4 for maximum for games).

We need to correctly output the data in this format:
[Team Name] [Minimum of the numbers in the game column for that team] [ Maximum of the numbers in the game column for that team].

Currently, the only correct part is that the rows for each team have been grouped together.

Any help is greatly appreciated!

Update:
I think it's an issue with the groupby object because when I run `suspensions.groupby("team").games.min(), it returns the same min values agg produces.

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.