0% found this document useful (0 votes)
10 views

Python For Data Science

Python is a popular, high-level, open-source programming language that is useful for data science applications like data visualization, data analytics, and scientific computing. It has vast libraries and is easy to learn and use for tasks like web development. Python code is interactive and object-oriented, and it can run on many platforms.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Python For Data Science

Python is a popular, high-level, open-source programming language that is useful for data science applications like data visualization, data analytics, and scientific computing. It has vast libraries and is easy to learn and use for tasks like web development. Python code is interactive and object-oriented, and it can run on many platforms.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

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

Expression and Variable


Expression -> 10+15
Variable - > x =10+15
String Operations -> It is within the single /double quote , considered as the list of
characters
X = ‘ABC’
X[1] -> B

Negative Indexing
\n ->new line
\t ->new tab
For printing “\” -> put “\\” in the string

You might also like