Path: blob/master/Key Python Libraries/Key Python Libraries - Day 1.ipynb
3074 views
Python library is a collection of functions and methods that allows you to perform lots of actions without writing your own code.Here, a ‘library’ loosely describes a collection of core modules.
Data Science and Machine Learning
Data Analysis
Numpy and Scipy – Fundamental Scientific Computing
Pandas – Data Manipulation and Analysis
StatsModels – Statistical Modeling, Testing, and Analysis
Data Visualization
Matplotlib: is an easy-to-use, low-level data visualization library
Seaborn: is a high-level interface built on top of the Matplotlib
Bokeh: is mainly famous for its interactive charts visualization.
Plotly: has hover tool capabilities that allow us to detect any outliers or anomalies in numerous data points. - It allows more customization. - It makes the graph visually more attractive
Machine Learning
Scikit-learn – Machine Learning and Data Mining
Keras- Machine learning
PyTorch- Machine Learning Tensor Flow
LightGBM- Machine Learning(Model Optimization)
Tensor Flow - Machine Learning
Eli5- Machine learning models(Debugging)
Theano- AI and ML
NLTK - Natural Language Processing with Python
SQLAlchemy- Database access
Web Development Frameworks and GUI
Tkinter – GUI applications
Requests – HTTP requests
Django- Web framework
Scrapy- Web crawling frameworks
BeautifulSoup - web crawling and data scraping
Flask - Micro-web framework
Others
Pyspark - Support Python with Spark, Apache Spark community released a tool, PySpark
TabPy - TabPy (the Tableau Python Server) is an Analytics Extension implementation which expands Tableau’s capabilities by allowing users to execute Python scripts and saved functions via Tableau’s table calculations
Jython- Jython an implementation of the Python programming language designed to run on the Java platform
python --version
Module,lib and package
Any Python file is a module, its name being the file's base name without the .py extension. A module is basically a bunch of related code saved in a file with the extension .py. You may choose to define functions, classes, or variables in a module. It’s also fine to include runnable code in modules.
A package is a collection of Python modules: while a module is a single Python file, a package is a directory of Python modules containing an additional init.py file, to distinguish a package from a directory that just happens to contain a bunch of Python scripts. Packages can be nested to any depth, provided that the corresponding directories contain their own init.py file.Python packages are basically a directory of a collection of modules.
A library is an umbrella term referring to a reusable chunk of code. Usually, a Python library contains a collection of related modules and packages. Actually, this term is often used interchangeably with “Python package” because packages can also contain modules and other packages (subpackages).
However, it is often assumed that while a package is a collection of modules, a library is a collection of packages.
scipy.special package contains numerous functions of mathematical physics.
SciPy special function includes Cubic Root, Exponential, Log sum Exponential, Lambert, Permutation and Combinations, Gamma, Bessel, hypergeometric, Kelvin, beta, parabolic cylinder, Relative Error Exponential, etc..