0% found this document useful (0 votes)
1 views13 pages

2.introduction To Python

The document provides an overview of Python's evolution, technical features, and its significance in data science, highlighting popular tools and libraries. It discusses various coding environments and Integrated Development Environments (IDEs) suitable for Python development, such as Google Colab, Jupyter Notebook, and Spyder. Additionally, it outlines the advantages of using Python, including its open-source nature, readability, and extensive community support.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views13 pages

2.introduction To Python

The document provides an overview of Python's evolution, technical features, and its significance in data science, highlighting popular tools and libraries. It discusses various coding environments and Integrated Development Environments (IDEs) suitable for Python development, such as Google Colab, Jupyter Notebook, and Spyder. Additionally, it outlines the advantages of using Python, including its open-source nature, readability, and extensive community support.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

GITAA Pvt Ltd

Introduction to Python
Popular tools used in data science

Data pre-processing and analysis Data exploration and visualization


Python, R, Microsoft Excel, SAS, SPSS Tableau, Power BI, Microsoft Excel

Parallel and distributed


Generative AI & LLM development
computing
LangChain, Hugging Face, OpenAI API
Apache Spark, Apache Hadoop

These tools form the backbone of modern data science workflows across various industries.
Evolution of Python
Python was developed by Guido van Rossum in the late eighties at the 'National Research
Institute for Mathematics and Computer Science' in the Netherlands.

Python 1.0

Python 2.0 End-of-Life: January 2020

Python 3.0

Python 3.14 Latest stable version (released October 2025)


Python Technical Features

Multi-Paradigm Support Dynamic Typing


Supports Functional, Structural, and Features robust runtime type safety checks for
Object-Oriented Programming (OOPs). flexible and rapid development.

Reference Counting Late Binding


Efficient memory management: deallocates Methods are looked up by name during
objects not in use for extended periods. runtime, enabling highly dynamic behavior.

"Python's design is guided by 20 aphorisms as described in the Zen of Python by Tim


Peters."
Python as a Programming Language

Foundation & Core Language Strengths


● High standards of readability
Managed by the Python Software Foundation. The
● Excellent error handling
standard CPython interpreter is written in C.
● Large community support

Cross-Platform Utility
Alternative Interpreters
Python runs seamlessly across major operating
Diverse ecosystem for varied needs: systems, ensuring broad compatibility.
● JPython (Java) & Iron Python (C#)
● Stackless Python (Parallelism) WINDOWS
● PyPy (JIT compilation) LINUX
MAC

Python provides a versatile environment supported by high readability and


cross-platform flexibility.
Advantages of using python

● Python has several features that make it well suited for data science

● Open source and community development


○ Developed under Open Source Initiative license making it free to use
and distribute even commercially

● Syntax used is simple to understand and code

● Libraries designed for specific data science tasks


○ NumPy, Pandas, Matplotlib, scikit-learn, TensorFlow, PyTorch

● Combines well with majority of the cloud platform service providers


○ AWS, Microsoft Azure, Google Cloud, Databricks
Coding environment
● A software program can be written using a terminal, a command prompt (cmd), a
text editor or through an Integrated Development Environment (IDE)

● The program needs to be saved in a file with an appropriate extension (.py for
python, .mat for matlab, etc...) and can be executed in corresponding environment
(Python, Matlab, etc…)

● Integrated Development Environment (IDE) is a software product solely developed


to support software development in various or specific programming language(s)

● Python download: [Link]

● Documentation: [Link]
Integrated Development Environment (IDE)
A cohesive unit of software tools designed to simplify and streamline the development
lifecycle: from writing code to building, debugging, and deployment.

Core Components Key Capabilities


Streamlined Workflow
 Source Code Editor
● Manage, compile, and deploy software from a
single unified interface.

 Compiler / Interpreter
Integrated Execution
● Supports building and executing programs
 Debugger directly within the environment.

Embedded Debugging
Additional Features
 Syntax highlighting, error detection, and ● Identify and resolve code issues without leaving
the application.
intelligent code completion.
Coding environment- IDE
● Best IDEs provide version control features

● There are many IDEs available, some examples include


○ Visual Studio Code, PyCharm, Vim

● In this session we will be using

● Google Colab — cloud-based, no installation required

● Jupyter Notebook — interactive cell-based notebook

● Spyder — designed specifically for data science


Spyder

Supported across Linux, Mac OS X and Windows platforms


Available as open source version
Can be installed separately or through Anaconda distribution
Developed for Python and specifically data science
Features include
● Code editor with robust syntax and error highlighting
● Code completion and navigation
● Debugger
● Integrated document
Interface similar to MATLAB and RStudio
Spyder
Jupyter Notebook
● Web application that allows creation and manipulation of documents called 'notebook'
● Supported across Linux, Mac OS X and Windows platforms
● Available as open source version
● Bundled with Anaconda distribution or can be installed separately
● Supports Julia, Python, R and Scala
● Consists of ordered collection of input and output cells that contain code, text, plots etc.
How to choose the best IDE?
● Requirements

● Working with different IDEs helps us understand


our own requirement

● Quick guide
○ Learning Python / data exploration → Google Colab
or Jupyter Notebook
○ Full projects and production code → Visual Studio
Code
○ Large enterprise Python applications → PyCharm
○ Scientific computing, MATLAB-like experience →
Spyder

You might also like