Pandas Assignment

Purpose

Pandas is a software library written for the Python programming language for data manipulation and analysis. In particular, it offers data structures and operations for manipulating numerical tables and time series.

Provided Starting Materials

You will be provided the following files.

Feel free to add functions as you please, but do not change the main() function.

Don't make any modifications to the other files, as you will not be turning this in.

Assignment

Your grandpa has just gotten into pokemon and spends every hour of every day playing. He has now joined a pokemon fight club and asked you to write a program that will help him analyze his pokemon party for him.

Of course he wants to become the best and compete against other Pokemon players. Therefore he want to test his Pokemon. To do this, you must create a battle simulator. But he is old and does not know how battling works. So you can keep it simple.

Rules :

Use the battletable to look up the type advantages.

The specific details of each function are explained in the comments in the assignment4.py file.

Grading - 10 Points Possible

Your grade will be based on the four functions in the pandas.py file.

Hints:

Here is an example of the expected graph result: sample graph

And here how a battle report could look like:

        ROUND #1 Start!
        #--------------------#
        charmander VS. cyndaquil
        You won the battle!

        ROUND #2 Start!
        #--------------------#
        charmander VS. cacturne
        You lost the battle!

        ROUND #3 Start!
        #--------------------#
        arbok VS. cacturne
        You lost the battle!

        You lost the fight, better luck next time!