0% found this document useful (0 votes)
6 views20 pages

Python

The document provides a comprehensive overview of various Python articles and tutorials, covering topics such as Python programming fundamentals, data structures, web development, machine learning, and data visualization. It includes guides on using libraries like NumPy, Pandas, and PyTorch, as well as practical examples for building applications and performing data analysis. The content is aimed at both beginners and experienced programmers seeking to enhance their Python skills.

Uploaded by

g9160.sudhara
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)
6 views20 pages

Python

The document provides a comprehensive overview of various Python articles and tutorials, covering topics such as Python programming fundamentals, data structures, web development, machine learning, and data visualization. It includes guides on using libraries like NumPy, Pandas, and PyTorch, as well as practical examples for building applications and performing data analysis. The content is aimed at both beginners and experienced programmers seeking to enhance their Python skills.

Uploaded by

g9160.sudhara
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

Log In Sign Up

Article Categories →

Python articles
Python is a popular programming langauges used to develop solutions in a variety of
spaces. The language can be used to create websites, process data, build robots, and
solve other problems. Its simple syntax, resembling the English language, makes it
very beginner friendly and a great !rst language to learn. The tutorials below provide
tips and tricks on how to get started with Python.

A Complete Guide to Python Generators


Python

Learn how to use generators in Python to e"ciently handle large datasets, create iterators,
and manage memory by generating values on demand. Explore the syntax of Python
generators, its use cases, and best practices.

A Guide to Python Data Structures


Python

Learn the fundamentals of Python data structures in this comprehensive guide, covering
di#erent types, examples, and ideal scenarios for using them e"ciently.

All the (Internet of) Things


Python

By Limor "Ladyada" Fried, Founder and CEO of Adafruit Industries

Build a FastAPI-Powered API with Python in Minutes


Python

Build high-performance APIs with FastAPI and Python in minutes. Learn to create
endpoints, validate data using Pydantic, handle errors, and compare FastAPI with Flask and

Django.

Building a Neural Network using PyTorch


AI, Python

Learn how to build a PyTorch neural network step by step. This tutorial walks you through
a complete PyTorch neural network example, covering model creation, training, and
evaluation.

Building LangChain Agents for LLM Applications in Python


AI, Python

Learn how to build LangChain agents in Python. Understand how LangChain agents
enhance LLM applications by dynamically integrating external tools, APIs, and real-time
data access.

Command Line Arguments in Python ([Link], argparse)


Python

Learn how to use Python command line arguments with `[Link]`, `getopt`, and `argparse`.
Compare each method and build $exible, user-friendly scripts with real examples.

Creating a Word Cloud With Python


Data visualization, Python

Learn how to use various Python libraries to create, mask, and display a word cloud with
contents from a text !le.

Creating and Using NumPy Arrays - A Complete Guide


Creating and Using NumPy Arrays - A Complete Guide

Python

Learn how to create NumPy arrays with `[Link]()` in Python. Complete guide covering 1D,
2D, 3D arrays, indexing, slicing, and manipulation techniques.

Custom Formatting in Jupyter Notebook


Data science, Python

Tips + Tricks for Jupyter Notebook.

Data Visualizations for Messy Data


Data science, Data visualization, Python

Learn how to work around problems with visualizing messy and missing data.

Deploying a Flask App


Developer tools, Python, Web development

Learn how to deploy your own Flask application with Heroku.

Deploying a Simple Python Script With Flask


Python, Web development

Learn how to deploy a program in Python using Flask!

EDA Prior to Fitting a Classi"cation Model


Data analytics, Data science, Python

Learn about recommended EDA steps before !tting a classi!cation model.


Exception & Error Handling in Python
Python
Learn how to handle Python exceptions using try-except blocks, avoid crashes, and
manage errors e"ciently. Explore Python error-handling techniques, including built-in

exceptions, custom exceptions, and best practices.

Exploratory Data Analysis with Data Visualization


Data visualization, Python

Explore how to use data visualization techniques with Seaborn and Matplotlib for
Exploratory Data Analysis (EDA). Learn to analyze datasets with univariate, bivariate, and
multivariate visualizations to uncover patterns and insights.

Facebook Messenger Analysis


Data science, Python

Learn how to analyze your Facebook messenger chat data to discover insights about your
relationships with your friends.

FastAPI vs Flask: Key Di#erences, Performance, and Use Cases


Python

Learn the features, advantages, and disadvantages of FastAPI and Flask along with their
di#erences and use cases.

Feature Importance
Data science, Machine learning, Python

Learn about feature importance and how to calculate it.

Filter Methods
Data visualization, Python
Data visualization, Python

Learn about the di#erent !lter methods for evaluating and selecting features.

Functional Programming in Python


Code foundations, Computer science, Python

An intro to functional programming in Python

Get Started with Amundsen


Python

Dig into Amundsen with by bootstrapping a default version of Amundsen with dummy data.

Getting Started with Image Processing in Python using Pillow


Python

Learn how to use the Pillow library in Python

Getting Started with LangChain Prompt Templates


AI, Python

Learn LangChain prompt templates

Getting Started with PyTorch Lightning: Build and Train Models


Python

Learn how to use PyTorch Lightning for deep learning. This guide covers practical
examples in model training, optimization, and distributed computing.

Getting Started with PyTorch: A Beginner’s Guide to Deep Learning


Python
Python

Learn PyTorch with custom datasets, data transformations, augmentation techniques,


e"cient loading, and AI model building for seamless implementation.

Guide to Python’s Switch Case Statement


Python

Learn how to handle conditional logic using Python’s match case statement.

Guide to Using Ternary Operator in Python


Python

Learn how the ternary operator works in Python compared to if-else statements, its
advantages and disadvantages, and some best practices for using it.

Handling Text Files in Python: How to Read from a File


Python

Learn how to read from text !les in Python using built-in functions like `read()` and
`readline()`. Explore !le handling, !le modes, and best practices for e"cient !le handling.

Hands-on Statistics with NumPy in Python


Python

Learn how to calculate measures of central tendency like mean, median, and weighted
mean, and measures of spread like range, variance, and standard deviation using the
NumPy module in Python.

How to Build a Python Script: A Beginner’s Guide to Python Scripting


Python

Learn scripting and how to build Python scripts from scratch. Set up your environment,
structure your code, run the script, and explore real examples with tips to get started.
structure your code, run the script, and explore real examples with tips to get started.

How to Check if a String Contains a Substring in Python


Python

Learn how to check whether a Python string contains a substring, covering di#erent
methods, case-insensitive checks, and comparisons between methods.

How to Concatenate Two Lists in Python: 6 E#ective Methods


Python

Learn how to concatenate lists in Python using `+`, `*`, `for` loop, list comprehension,
`extend()`, and `[Link]()`. Compare the methods for their e"ciency.

How to Fine Tune Large Language Models (LLMs)


AI, Python

Learn how to !ne tune large language models (LLMs) in Python with step-by-step
examples, techniques, and best practices.

How to Get the Current Working Directory in Python (With Examples)


Python

Learn how to get the current working directory in Python using `[Link]()` and
`[Link]()`. Understand their di#erences and best use cases with practical examples.

How To Install Jupyter Notebook on Mac and Windows


Data science, Data visualization, Python

Learn how to install Jupyter Notebook using conda with Anaconda or Miniconda. Step-by-
step installation guide for Windows and Mac users.
How to Remove Characters from a String in Python
Python

Learn how to remove characters from a Python string using `rstrip()`, `replace()`, and
`[Link]()` with examples.

How to Request Webpages Using Python


Python

Learn how to request webpages and get JSON data using Python's requests library. A step-
by-step guide with practical examples for making HTTP GET and POST requests in Python.

How to Reverse a List in Python


Python

Learn how to reverse a list in Python using `.reverse()`, `reversed()`, slicing, the two-pointer
method, loops, and recursion with examples.

How to set up a deep learning environment


Machine learning, Python

This article gives detailed instructions on how to set up a deep learning environment.

How to Sort a Dictionary by Key or Value in Python


Python

Learn how to sort Python dictionaries by keys or values using built-in functions like
`sorted()` and handle edge cases with `OrderedDict`.

How to sort a list in Python


Python

Learn how to sort lists in Python using `.sort()` and `sorted()`. Explore custom sorting with
keys, descending order sorting, and apply real-world sorting techniques e"ciently.
keys, descending order sorting, and apply real-world sorting techniques e"ciently.

How to Sort Lists of Lists in Python (With Examples)


Python

Learn how to sort lists of lists in Python using `sorted()`, `[Link]()`, `lambda`, and key
functions with examples.

How to Split Arrays in NumPy?


Python

Learn how to split NumPy arrays using functions like `[Link]()`, `np.array_split()`,
`[Link]()`, `[Link]()`, and `[Link]()`. A beginner-friendly guide with practical examples.

How to Use APIs in Python


Python

Learn how to use APIs in Python. Explore HTTP methods, design API endpoints, and return
JSON responses using Python and FastAPI.

How To Use GraphQL With Django


Python

A tutorial on how to use GraphQL with Django.

How to use Jupyter Notebooks: A Complete Tutorial


Data science, Developer tools, Python, Web development

Learn how to open, launch, and use Jupyter Notebooks e#ectively. Step-by-step guide
covering installation, launching methods, and essential features for beginners.

How to Use [Link]() in NumPy (With Examples and


How to Use [Link]() in NumPy (With Examples and
Comparisons)

Python

Learn how to use `[Link]()` in Python to join NumPy arrays e"ciently. Explore
syntax, real-world examples, and key di#erences with `[Link]()`, `[Link]()`, `[Link]()`,
and `[Link]()`.

How to Use the abs() Function in Python (With Examples)


Python

Learn to use the `abs()` function in Python to calculate absolute values with integers,
$oating-point numbers, and complex numbers. Explore its syntax, examples, and uses.

Implementing Memory in LLM Applications Using LangChain


AI, Python

This article discusses how to implement memory in LLM applications using the LangChain
framework in Python.

Implementing the Merge Sort Algorithm in Python


Python

Learn how to implement Merge Sort in Python - an algorithm with clear examples, step-
by-step code, and practical applications.

Install Pyspark O#-Platform


Data engineering, Data science, Python

Install PySpark on your computer so you can analyze big data o#-platform

Installing Django
Python, Web development
Python, Web development

In this article, you will learn how to install a virtual environment then install Django in the
virtual environment all on your own computer!

Installing IDLE on a Chromebook


Developer tools, Python

This article will teach you how to install IDLE on Chromebooks so you can do Python
projects on your Chromebook.

Installing Jupyter Notebook on a Chromebook


Data science, Developer tools, Python

This article will teach you how to run Jupyter Notebook on Chromebooks so you can do
o#-platform Python projects on your Chromebook.

Installing Python 3 and Python Packages


Developer tools, Python

Learn how to install Python packages and download Python 3 with Anaconda and
Miniconda on Mac and Windows.

Introduction to Pandas and NumPy


Data science, Python

pandas and NumPy are very useful libraries in Python. Let's learn how to use them!

Kadane's Algorithm: Find Maximum Subarray Sum in an Array


C++, Java, Python

Master Kadane's algorithm to solve the maximum subarray problem in O(n) time. Complete
guide with Python, Java, and C++ implementations.
Linear Regression with scikit-learn: A Step-by-Step Guide Using
Python
Python

Discover the fundamentals of linear regression and learn how to build linear regression
and multiple regression models using the sklearn library in Python.

List Comprehensions
Python

Learn about how to create new lists in one line of Python!

Log Transformation in Linear Regression: When and How to Use It


Data science, Data visualization, Python

Learn when and how to apply log transformations in linear regression to !x skewed data
and improve model accuracy. Python examples included.

Mu Editor
Developer tools, Python

Follow this quick guide to setting up Mu locally.

NumPy Dot Product and Matrix Multiplication: Complete Guide


Python

Learn NumPy dot product, `[Link]` vs `[Link]` di#erences, and matrix multiplication
techniques. Complete guide with examples for beginners.

Programming in Python on a Chromebook


Data science, Developer tools, Python
Data science, Developer tools, Python

This article will teach you how to run Python code on Chromebooks so you can do o#-
platform Python projects on your Chromebook.

Python CSV Tutorial: Read, Write, and Edit CSV Files


Python

Learn how to work with CSV !les in Python using the built-in `csv` module and `pandas`.
This beginner-friendly guide covers reading, writing, and analyzing CSV data with examples
and best practices.

Python Dictionary Append: How to Add Items to Dictionary


Python

Learn di#erent ways to append and add items to a dictionary in Python using square
brackets (`[]`), `update()`, loops, `setdefault()`, unpacking, and the union operator (`|`), with
examples.

Python Env Vars: Complete Guide to Environment Variables


Python

Learn how to set, get, and manage environment variables in Python using `[Link]` and
`.env` !les. Step-by-step guide with code examples and best practices.

Python Exit Commands: quit(), exit(), [Link](), os._exit() and Keyboard


Shortcuts
Python

Learn the di#erences between Python exit commands like `quit()`, `exit()`, `[Link]()`, and
`os._exit()`, plus keyboard shortcuts to end Python programs correctly.

Python Glossary
Python
Python

Programming reference for Python

Python Inheritance Explained: Types and Use Cases


Python

Learn what Python inheritance is and how it enables code reuse. Explore di#erent types of
inheritance, such as single, multiple, and hybrid. Understand the `super()` function and
real-world applications of inheritance in Python.

Python Lambda Functions Explained (With Examples)


Python

Learn what Python lambda functions are, their working, and use cases. Explore examples
of lambda functions in Python and their practical use cases.

Python Stack Data Structure: When and Why to Use it


Python

Learn when and why to use stacks in Python. Understand LIFO, explore real use cases,
compare stack implementation methods, and choose between lists, stacks, and queues.

Python Subprocess Tutorial: Master run() and Popen() Commands


(with Examples)
Python

Learn how to use Python’s `subprocess` module, including `run()` and `Popen()` to execute
shell commands, capture output, and control processes with real-world examples.

Python Syntax Guide for Beginners


Python

Learn Python syntax with this beginner-friendly guide. Understand Python indentation,
Learn Python syntax with this beginner-friendly guide. Understand Python indentation,
print statements, variables, comments, user input, and more with examples.

Python Web Scraping Using Selenium and Beautiful Soup: A Step-by-


Step Tutorial
Python

Explore how to perform Python web scraping using Selenium and Beautiful Soup in this
beginner-friendly, step-by-step guide.

Python Zip Function: Complete Guide with Examples


Python

Learn the `zip()` function in Python with syntax, examples, and best practices. Master
parallel iteration and list combining e"ciently.

PyTorch DataLoader Tutorial: Master [Link]


Python

Learn how to use PyTorch's `DataLoader` e#ectively with custom datasets, transformations,
and performance techniques like parallel data loading and augmentation.

PyTorch vs TensorFlow: Choosing the Best Framework for Deep


Learning
Python

Learn the di#erences between PyTorch and TensorFlow using examples and use cases.

Recti"ed Linear Unit (ReLU) Function in Deep Learning


Python

Learn how the recti!ed linear unit (ReLU) function works, how to implement it in Python,
and its variations, advantages, and disadvantages.
RNN PyTorch Time Series Tutorial: Complete Guide to
Implementation
Python

Learn RNN PyTorch time series implementation with step-by-step code examples. Build
recurrent neural networks for time-based data forecasting.

Rounding to Two Decimal Places in Python


Python

Learn how to round a number in Python to two decimal places using the round, string
formatting, and modulus operators.

Scikit-Learn Cheatsheet
Data science, Machine learning, Python

Explore key Scikit-Learn commands for machine learning, covering regression,


classi!cation, clustering, and model validation in Python.

Scikit-Learn Tutorial: Python Machine Learning Model Building


Developer tools, Machine learning, Python

Learn how to build powerful machine learning models with scikit-learn in Python. Master
essential techniques from installation to implementation with practical examples and
comparisons.

Seaborn Color Palettes: Complete Guide to Data Visualization Colors


Python, Web design

Discover how to use Seaborn color palettes to improve your data visualization. Learn
default, sequential, and diverging palettes with practical Python examples.
Sorting and Unary Operations in NumPy
Python

Explore sorting and unary operations in NumPy arrays with examples for single and multi-

dimensional data.

Stack in Python: How to Build a Python Stack Data Structure


Python

Learn to implement a stack in Python with our step-by-step guide. Build a custom Python
stack data structure using classes, `.push()`, `.pop()`, and `.peek()` methods.

Step-by-step Pygame Tutorial: Build Save the Spider Game from


Scratch
Python

Use Pygame to create an interactive game

Time Complexity of Merge Sort: A Detailed Analysis


Python

Explore the time complexity of Merge Sort in-depth, including best, average, and worst-
case analysis, and comparison with other sorting algorithms.

Trie Data Structure: Complete Guide to Pre"x Trees


Python

Learn what a trie data structure is, how it works, and how to implement it for e"cient
string storage, fast search, and autocomplete functionality.

Understanding Polymorphism in Python (With Examples)


Python

Learn how to implement polymorphism in Python with practical examples and


applications. Master this essential OOP concept to write more $exible, reusable code for
your projects.

Understanding the Global Interpreter Lock (GIL) in Python


Python

Learn what Python's Global Interpreter Lock (GIL) is. Explore how it works, its impact on
concurrency, alternatives to bypass it, and the future of GIL-free Python.

Using ChatGPT to Debug Python Code


AI, Python

Learn how to use ChatGPT to identify and debug Python code errors through clear
communication, error identi!cation, and code simulation.

Variational Autoencoder Tutorial: VAEs Explained


Python

Learn Variational Autoencoders (VAEs) with PyTorch implementation. Master VAE


architecture, training, and real-world applications.

What are Python Data Types and How to Check Them


Python

Learn Python data types and how to check them using `type()` and `isinstance()`. Explore
type conversion techniques with practical examples.

What are Tuples?


Computer science, JavaScript, Python

Get an overview of what tuples are in Swift and see their application in iterating through
Get an overview of what tuples are in Swift and see their application in iterating through
dictionaries.

What are Ufuncs in NumPy


Python

Learn how to use NumPy Ufuncs for e"cient array operations, including element-wise
calculations, and optimize data processing for better performance.

What Is Dictionary Comprehension in Python?


Python

Learn how to write powerful, concise code using dictionary comprehension in Python. In
this tutorial, you will learn what Python dictionary comprehension is, how it works, and
why it is a valuable tool.

What is One Hot Encoding and How to Implement it in Python?


Machine learning, Python

Learn how one-hot encoding works and how to implement it with Pandas and Scikit-learn
modules in Python.

What is Python?
Python

What is Python, and what can it do?

Writing and Debugging Code in Jupyter


Data science, Data visualization, Python

A walkthrough of Jupyter Notebook's most useful features.

You might also like