Python For Data Science
Python For Data Science
Python 3 is used
It is the MOST popular, high-level, open-source programming language! It is a powerful, fast and
dynamic programming language that runs everywhere. It’s also interactive, object-oriented, and
very easy to learn.
Anyone can create programs with it. It’s particularly great for web development, and scientific
computing. With its vast libraries, it’s also useful for data visualization and data analytics.
Print(“Welcome to Python”)
# -> Used for the commenting
Type cast
Type(x) ->Give the type of the x
type(True) -> Bool , type(1) -> int
Type case- to change the data type of the variable
Float(1) -> 1.0
Int(1.52) -> 1
Bol(1) -> True ,
Bol(0) -> False
Negative Indexing
\n ->new line
\t ->new tab
For printing “\” -> put “\\” in the string