Skip to content
Coder's Jungle

An educational website for programmers, coders and web developers. WordPress news, tutorials and pro tips selected by Coder's Jungle. The site aggregates articles from official RSS feeds under their original authorship. Each article has a do-follow link to the original source.

  • Home
  • Home
Home » Python modules » Page 6
File I/O with NumPy: Loading and Saving Data
Posted inCoding Tips

File I/O with NumPy: Loading and Saving Data

July 23, 2025

Python data cleaning with pandas for missing data. Handle np.nan using dropna() or fillna() with the mean. Fix data types with pd.to_numeric(errors='coerce').

The post File I/O with NumPy: Loading and Saving Data appeared first on Python Lore.

Read More
Understanding Principal Component Analysis with scikit-learn
Posted inCoding Tips

Understanding Principal Component Analysis with scikit-learn

July 21, 2025

Matrix multiplication for PCA transformation, projecting centered data onto principal axes. Visualize transformed data with scatter plots using Matplotlib.

The post Understanding Principal Component Analysis with scikit-learn appeared first on Python Lore.

Read More
Managing HTTP Redirects with http.client.HTTPRedirectHandler
Posted inCoding Tips

Managing HTTP Redirects with http.client.HTTPRedirectHandler

July 19, 2025

HTTP 301, 302, 307, 308 redirects for POST requests. Preserving the request method vs changing to GET. Python urllib.request.HTTPRedirectHandler example.

The post Managing HTTP Redirects with http.client.HTTPRedirectHandler appeared first on Python Lore.

Read More
Sorting Data with pandas.DataFrame.sort_values
Posted inCoding Tips

Sorting Data with pandas.DataFrame.sort_values

July 17, 2025

Pandas sort_values performance guide. Compare quicksort, mergesort, heapsort. Stable vs unstable sort. O(n log n) complexity, data types, memory impact.

The post Sorting Data with pandas.DataFrame.sort_values appeared first on Python Lore.

Read More
Serving JSON Data with Flask
Posted inCoding Tips

Serving JSON Data with Flask

July 14, 2025

Flask API error handling for JSON. Custom JSON error responses for 404 and 500 status codes using @app.errorhandler instead of Flask's default HTML pages.

The post Serving JSON Data with Flask appeared first on Python Lore.

Read More
Customizing Scoring and Evaluation Metrics in scikit-learn
Posted inCoding Tips

Customizing Scoring and Evaluation Metrics in scikit-learn

July 12, 2025

The simple scorer you forged was a solid piece of work. It took y_true and y_pred and produced a number that meant something to the business. A fine tool. But some jobs require more specialized instruments. A simple comparison of...

The post Customizing Scoring and Evaluation Metrics in scikit-learn appeared first on Python Lore.

Read More
Understanding Blocking and Non-blocking Socket Operations
Posted inCoding Tips

Understanding Blocking and Non-blocking Socket Operations

July 8, 2025

Python non-blocking sockets with setblocking(False). Handle BlockingIOError exceptions for responsive I/O. Avoid busy-wait loops and CPU polling with recv().

The post Understanding Blocking and Non-blocking Socket Operations appeared first on Python Lore.

Read More
Customizing Matplotlib with Style Sheets
Posted inCoding Tips

Customizing Matplotlib with Style Sheets

July 4, 2025

Matplotlib plot customization with rcParams, style sheets, and the matplotlibrc file. Settings hierarchy from plt.style.use, context managers, to function arguments.

The post Customizing Matplotlib with Style Sheets appeared first on Python Lore.

Read More
Advanced Network Services with Python socket Module
Posted inCoding Tips

Advanced Network Services with Python socket Module

July 2, 2025

Resilient network server in Python using the selectors module. Failure isolation, non-blocking I/O, and robust error handling for multiple concurrent clients.

The post Advanced Network Services with Python socket Module appeared first on Python Lore.

Read More
Defining Models and Tables in SQLAlchemy ORM
Posted inCoding Tips

Defining Models and Tables in SQLAlchemy ORM

June 30, 2025

SQLAlchemy models define database structure and relationships. Learn to declare models, set defaults, and enforce data integrity for efficient application development.

The post Defining Models and Tables in SQLAlchemy ORM appeared first on Python Lore.

Read More

Posts pagination

Previous page 1 … 4 5 6 7 8 … 29 Next page
Post You Might Like
UI Testing in Swift
Posted inCoding Tips
UI Testing in Swift
AI Creates Opportunity While Artists Ship at WordCamp US 2026
Posted inCoding Tips
AI Creates Opportunity While Artists Ship at WordCamp US 2026
WordPress 7.1 “Mary Lou”
Posted inCoding Tips
WordPress 7.1 “Mary Lou”
Bypassing anti-scraping protections using the Wayback Machine
Posted inWeb development
Bypassing anti-scraping protections using the Wayback Machine
Copyright (c) 2023-2026 | Coder's Jungle. All rights reserved.
Scroll to Top
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.