Tuesday, January 20, 2026

Python Libraries

 

INTRODUCTION TO PYTHON LIBRARIES 

Python has a huge collection of libraries that help in creating a number of interactive applications.

A Python Library is a collection of related modules. These modules can be used repeatedly in various programs without the need to write the same code again and again.

Each Python Library contains a large number of modules that one can import and use.

The most commonly used Python Libraries are :  Numpy, Pandas, Matplotlib, etc…,

 

A Module can be imported into a Python Program with an “import” statement.

Syntax : import Module_Name

Eg : import pandas

Eg : import math

 

An Alias Name can also be used while Importing a Module.

Syntax : import Module_Name as Alias_Name

Eg : import pandas as pd

‘as’ is a keyword used for giving an Alias Name for the Module.

No comments:

Post a Comment

IP CBSE Sample Papers

  IP CBSE Sample Paper 2025 ~ Solution IP CBSE Sample Paper 2024 ~ Solution IP CBSE Sample Paper 2023 ~ Solution IP CBSE Sample Paper 202...