Python for Data Science
Python data types
· Float-
real numbers
· Integer
- integers
· String-
string, text
· Boolean
– True, False
Lists
Collection
of values which are ordered and changeable and can be of any type
List
= [1,”Sam”,2,True]
Indexing in Python
Python works on zero base indexing where 1st
column and 1st row have zero index
States
= [‘Maharashtra’,’Rajasthan’,’MP’,’Gujarat’, ‘UP’]
Index 0 1 2 4 5
Dictionary
Tuples
Sets
No comments:
Post a Comment