Visual Analysis of Pokemon Dataset

Pokemon Attributes :

  • Name: Name of each pokemon
  • base_experience : Base Experience of Pokemon
  • height : Height Of pokemon
  • weight : Weight Of pokemon
  • Type 1: Each pokemon has a type, this determines weakness/resistance to attacks
  • Type 2: Some pokemon are dual type and have 2
  • Abilities : (1,2,Hidden) Abilities of pokemon determines behavior or responding to certain conditions such as terrain,stat change etc.
  • Total: sum of all stats that come after this, a general guide to how strong a pokemon is
  • HP: hit points, or health, defines how much damage a pokemon can withstand before fainting
  • Attack: the base modifier for normal attacks (eg. Scratch, Punch)
  • Defense: the base damage resistance against normal attacks
  • SP Atk: special attack, the base modifier for special attacks (e.g. fire blast, bubble beam)
  • SP Def: the base damage resistance against special attacks
  • Speed: determines which pokemon attacks first each round

Continue reading

How to Defined a Function in Python?

User Defined function helps in the programs where functions repeatedly used,so it helps to save your steps and most important time for writing program.

User Defined function can be divided in several parts like
def: This is keyword which introduces the name of the Function.
function_name: Function name can be alphabetical or alphanumeric name but it should not contains symbols in it.
argument:Arguments always should write in parentheses.Argument is not mandatory but parentheses are mandatory.That means you can keep parentheses empty.
colon(:): A colon which is mandatory follows the closing parenthesis and indicates the start of your function source code.
function_code: The function code should me intended under the def statement.

 

Continue reading