Tagged articles
5000 articles
Page 15 of 50
Raymond Ops
Raymond Ops
Dec 27, 2024 · Backend Development

Master Python Requests: Web Scraping Basics with GET, POST, and File Saving

This tutorial walks you through installing the Python requests library, using GET, POST, and PUT methods, handling query parameters, setting custom headers to bypass anti‑scraping measures, and saving both HTML content and images to local files, complete with runnable code examples.

HTTPPythonTutorial
0 likes · 7 min read
Master Python Requests: Web Scraping Basics with GET, POST, and File Saving
21CTO
21CTO
Dec 26, 2024 · Fundamentals

2024 Programming Language Rankings: What JetBrains' Report Reveals

JetBrains' 2024 Developer Ecosystem Report, based on responses from over 23,000 developers, shows JavaScript remains the most used language, while TypeScript, Rust, and Python surge in popularity, with detailed usage percentages, growth trends, and the new Language Outlook Index highlighting future prospects.

JavaScriptJetBrainsPython
0 likes · 5 min read
2024 Programming Language Rankings: What JetBrains' Report Reveals
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 26, 2024 · Fundamentals

Understanding How Python Passes Functions Without Parentheses

This article explains why assigning a function to a variable without parentheses doesn’t invoke it, how to pass functions as arguments in Python, and demonstrates the concept with a Prisoner’s Dilemma code example, clarifying common misconceptions about function calls and references.

Higher-Order FunctionsPythondebugging
0 likes · 6 min read
Understanding How Python Passes Functions Without Parentheses
Efficient Ops
Efficient Ops
Dec 24, 2024 · Fundamentals

Create an ASCII Christmas Tree with Shell and Python Scripts

This article shares a festive greeting and demonstrates how to generate an ASCII Christmas tree using both a Bash shell script and a Python program, followed by details about the upcoming GOPS Global Operations Conference in Shenzhen, encouraging operations professionals to celebrate the holiday season.

ASCII artPythonShell
0 likes · 4 min read
Create an ASCII Christmas Tree with Shell and Python Scripts
AI Large Model Application Practice
AI Large Model Application Practice
Dec 23, 2024 · Artificial Intelligence

Master LlamaIndex Workflows: Build Multi‑Agent RAG Applications Step‑by‑Step

This article introduces LlamaIndex Workflows, explains its event‑driven design, walks through a multi‑agent demo that combines weather search and email sending, provides complete Python code for defining events, steps, and the orchestrator, and compares its strengths and limitations against similar frameworks.

AILlamaIndexMulti-Agent
0 likes · 13 min read
Master LlamaIndex Workflows: Build Multi‑Agent RAG Applications Step‑by‑Step
Test Development Learning Exchange
Test Development Learning Exchange
Dec 18, 2024 · Fundamentals

How to Import and Export Data in Pandas

This guide explains how to use Pandas to import data from various file formats such as CSV, Excel, JSON, SQL, HTML, HDF5, Pickle, TSV, fixed‑width files and the clipboard, and also demonstrates how to export DataFrames to formats like CSV, Excel, JSON, SQL, HTML, HDF5 and Pickle, providing clear code examples for each operation.

Data ExportPythondata analysis
0 likes · 10 min read
How to Import and Export Data in Pandas
Test Development Learning Exchange
Test Development Learning Exchange
Dec 15, 2024 · Fundamentals

45 Common NumPy Operations with Code Examples

This article presents a comprehensive guide to 45 essential NumPy operations, covering array creation, reshaping, arithmetic, statistical functions, linear algebra, and more, each illustrated with concise explanations and ready-to-run Python code examples to help readers efficiently leverage NumPy for scientific computing.

ArrayData ScienceNumPy
0 likes · 18 min read
45 Common NumPy Operations with Code Examples
Code Mala Tang
Code Mala Tang
Dec 14, 2024 · Fundamentals

Master Python’s Core Concepts: OOP, Decorators, Concurrency & More

This guide explores essential Python concepts for advanced developers, covering object‑oriented programming, first‑class and higher‑order functions, closures, decorators, iterators, generators, context managers, memory management, concurrency models, the Global Interpreter Lock, and asynchronous programming with practical code examples.

Advanced ConceptsAsyncPython
0 likes · 21 min read
Master Python’s Core Concepts: OOP, Decorators, Concurrency & More
Test Development Learning Exchange
Test Development Learning Exchange
Dec 13, 2024 · Fundamentals

Understanding Python Variables: Concepts, Scope, Lifecycle, and Practical API Testing Examples

This article explains Python variable fundamentals—including naming rules, assignment, scope, and lifecycle—provides basic code examples, and demonstrates advanced usage of variables in API automation testing through dictionaries, class configurations, enums, result tracking, and context managers.

Code ExamplesPythonVariables
0 likes · 9 min read
Understanding Python Variables: Concepts, Scope, Lifecycle, and Practical API Testing Examples
Test Development Learning Exchange
Test Development Learning Exchange
Dec 12, 2024 · Fundamentals

Python Basics: Fundamental Operations and Code Snippets

This article presents a concise collection of 40 Python one‑liners covering fundamental operations such as printing, comprehensions, file handling, string manipulation, mathematical calculations, data structure manipulations, and useful built‑in functions, each illustrated with clear code examples.

AlgorithmsPythoncode snippets
0 likes · 8 min read
Python Basics: Fundamental Operations and Code Snippets
AI Large Model Application Practice
AI Large Model Application Practice
Dec 12, 2024 · Artificial Intelligence

Mastering AutoGen: Build Multi‑Agent LLM Applications in Minutes

AutoGen, Microsoft’s advanced multi‑agent framework, lets developers quickly assemble collaborative LLM agents—supporting chat, tool use, and hierarchical group chats—through concise Python code, with examples ranging from simple two‑agent dialogues to complex three‑agent reporting pipelines, while outlining its strengths, limitations, and upcoming v0.4 enhancements.

AIAutoGenFramework
0 likes · 9 min read
Mastering AutoGen: Build Multi‑Agent LLM Applications in Minutes
Java Tech Enthusiast
Java Tech Enthusiast
Dec 12, 2024 · Fundamentals

LeetCode 814: Binary Tree Pruning

The article explains LeetCode 814, where a binary tree of 0s and 1s is pruned by recursively removing subtrees lacking a 1, using a post‑order traversal that returns null for nodes with value 0 and no retained children, achieving O(n) time and O(h) space.

LeetCodePythonRecursion
0 likes · 6 min read
LeetCode 814: Binary Tree Pruning
Java Tech Enthusiast
Java Tech Enthusiast
Dec 11, 2024 · Backend Development

Building a Flask Translation App with GLM-4-Flash API

This guide shows how to create a Flask web service that translates text using ZhipuAI's free, high‑speed GLM‑4‑Flash API, covering environment setup, API key configuration, asynchronous task handling, endpoint implementation, and retrieving results via a unique task ID.

APIFlaskGLM-4-Flash
0 likes · 9 min read
Building a Flask Translation App with GLM-4-Flash API
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 11, 2024 · Fundamentals

Master the ‘Sum of Numbers Ignoring 6‑9 Sections’ Challenge in Python

This article walks through a Python list‑processing problem that requires summing numbers while skipping any segment that starts with a 6 and ends with the next 9, presenting multiple solution approaches—including index tricks, flag control, while loops, and recursion—to help readers understand and implement the algorithm effectively.

ListPythonRecursion
0 likes · 7 min read
Master the ‘Sum of Numbers Ignoring 6‑9 Sections’ Challenge in Python
Test Development Learning Exchange
Test Development Learning Exchange
Dec 10, 2024 · Fundamentals

Python itertools Module: Functions, Usage Examples, and Practical Limitations

This article introduces the Python itertools module, demonstrates common functions such as count, cycle, repeat, combinations, permutations, chain, filterfalse, dropwhile, accumulate, and groupby with code examples, and discusses important limitations like infinite loops, memory consumption, and iterator irreversibility.

IteratorsPythonitertools
0 likes · 8 min read
Python itertools Module: Functions, Usage Examples, and Practical Limitations
Python Programming Learning Circle
Python Programming Learning Circle
Dec 10, 2024 · Big Data

23 Python Web Scraping Projects with GitHub Links

This article compiles twenty‑three Python web‑scraping projects, each described with its purpose, key features, and a direct GitHub repository link, offering developers a ready‑made toolbox for data collection across platforms such as WeChat, DouBan, Zhihu, Bilibili, and more.

GitHubPythonScrapy
0 likes · 9 min read
23 Python Web Scraping Projects with GitHub Links
Test Development Learning Exchange
Test Development Learning Exchange
Dec 7, 2024 · Fundamentals

Common Python Programming Problems and Solutions

This article presents a collection of 25 frequently encountered Python programming tasks, ranging from printing "Hello, World!" to checking file existence, each accompanied by concise explanations and ready-to-use code examples that illustrate fundamental concepts and techniques.

AlgorithmsCode ExamplesPython
0 likes · 14 min read
Common Python Programming Problems and Solutions
Java Tech Enthusiast
Java Tech Enthusiast
Dec 7, 2024 · Interview Experience

Solve LeetCode 739 ‘Daily Temperatures’ Using a Monotonic Stack

This article explains the LeetCode 739 'Daily Temperatures' problem, describing how to compute the next warmer day for each temperature using a monotonic stack, and provides complete implementations in Java, C++, and Python, along with step‑by‑step analysis and example walkthroughs.

Daily TemperaturesLeetCodeMonotonic Stack
0 likes · 6 min read
Solve LeetCode 739 ‘Daily Temperatures’ Using a Monotonic Stack
Test Development Learning Exchange
Test Development Learning Exchange
Dec 6, 2024 · Artificial Intelligence

Using pytesseract and Pillow for OCR: Installation, Configuration, and Accuracy Improvement Techniques

This guide explains how to install Tesseract OCR and the Python libraries pytesseract and Pillow, configure the engine path, perform image-to-text extraction with example code, and apply various preprocessing, detection, and post‑processing methods to significantly improve OCR accuracy.

Computer VisionOCRPython
0 likes · 8 min read
Using pytesseract and Pillow for OCR: Installation, Configuration, and Accuracy Improvement Techniques
Test Development Learning Exchange
Test Development Learning Exchange
Dec 5, 2024 · Artificial Intelligence

End-to-End House Prices Prediction Project: Data Collection, Preprocessing, Modeling, Evaluation, and Deployment with Python

This tutorial walks through a complete house price prediction project, covering data collection from Kaggle, preprocessing with pandas and scikit‑learn, model training using RandomForestRegressor, evaluation, and deployment of a Flask API for real‑time predictions, providing full code examples.

FlaskModel DeploymentPython
0 likes · 9 min read
End-to-End House Prices Prediction Project: Data Collection, Preprocessing, Modeling, Evaluation, and Deployment with Python
Test Development Learning Exchange
Test Development Learning Exchange
Dec 3, 2024 · Fundamentals

Python Programming Fundamentals

This tutorial covers Python's core programming concepts including variables, data types, control structures, functions, object-oriented programming, and file operations, providing a comprehensive foundation for beginners.

Data TypesOOPPython
0 likes · 16 min read
Python Programming Fundamentals
Python Programming Learning Circle
Python Programming Learning Circle
Dec 2, 2024 · Mobile Development

Developing a Python Mobile App with Kivy and Buildozer: Installation, First App, and Packaging Tips

This guide walks through preparing the Kivy development environment on macOS and CentOS, creating a simple hello‑world Python app, installing and using Buildozer to package the app for Android (and iOS), and troubleshooting common build issues with code examples and virtual‑machine recommendations.

AndroidBuildozerKivy
0 likes · 12 min read
Developing a Python Mobile App with Kivy and Buildozer: Installation, First App, and Packaging Tips
Satori Komeiji's Programming Classroom
Satori Komeiji's Programming Classroom
Dec 2, 2024 · Fundamentals

Master Python Generators (And the Odd Feud Behind It)

This article walks through Python generators in depth—covering basic yield behavior, the __next__, send, throw, and close methods, pre‑activation states, delegation with yield from, generator expressions pitfalls, and their role in coroutine implementation—while briefly recounting a personal conflict that sparked the write‑up.

CoroutinesGeneratorsPython
0 likes · 28 min read
Master Python Generators (And the Odd Feud Behind It)
AI Large Model Application Practice
AI Large Model Application Practice
Dec 2, 2024 · Artificial Intelligence

Master CrewAI: Build Multi‑Agent Systems Quickly with Flows and a Full Demo

This article introduces CrewAI, a high‑level Python framework for constructing multi‑agent systems, explains its core concepts such as Crew, Agent, Tool, Task and Process, walks through a complete demo with code, evaluates its strengths and limitations, and showcases the new Flows feature for more flexible workflow orchestration.

AI FrameworkCrewAIFlows
0 likes · 15 min read
Master CrewAI: Build Multi‑Agent Systems Quickly with Flows and a Full Demo
Java Tech Enthusiast
Java Tech Enthusiast
Dec 1, 2024 · Fundamentals

LeetCode 34: Binary Search Range

LeetCode 34 asks for the first and last indices of a target in a non‑decreasing integer array, returning [-1,-1] when absent, and can be solved in O(log n) time by applying two binary‑search passes—one locating the leftmost occurrence and the other the rightmost—illustrated with Java, C++, and Python implementations.

Binary SearchLeetCodePython
0 likes · 8 min read
LeetCode 34: Binary Search Range
Test Development Learning Exchange
Test Development Learning Exchange
Nov 30, 2024 · Artificial Intelligence

Basic Image Processing with OpenCV: Reading, Displaying, and Manipulating Images in Python

This tutorial introduces basic image processing techniques using OpenCV in Python, covering image reading, displaying, grayscale conversion, cropping, resizing, rotation, flipping, and saving, with step‑by‑step code examples and explanations to help beginners apply these operations in real projects.

Computer VisionOpenCVPython
0 likes · 8 min read
Basic Image Processing with OpenCV: Reading, Displaying, and Manipulating Images in Python
Test Development Learning Exchange
Test Development Learning Exchange
Nov 30, 2024 · Artificial Intelligence

Popular Python Libraries for Image Processing with Installation Commands and Code Samples

This article introduces ten widely used Python image‑processing libraries—including Pillow, OpenCV, scikit‑image, imageio, mahotas, SimpleITK, imgaug, face_recognition, Pyradiomics, and tqdm—provides brief descriptions, pip installation commands, and runnable code examples to help developers choose the right tool for their computer‑vision tasks.

Computer VisionOpenCVPython
0 likes · 10 min read
Popular Python Libraries for Image Processing with Installation Commands and Code Samples
Python Programming Learning Circle
Python Programming Learning Circle
Nov 30, 2024 · Artificial Intelligence

Numpy‑ML: A Comprehensive Pure‑NumPy Implementation of Machine Learning Algorithms

The Numpy‑ML project by David Bourgin provides a 30,000‑line pure‑NumPy library that implements a wide range of classic machine‑learning algorithms, data‑preprocessing tools, and neural‑network components, offering an educational resource for deepening algorithmic understanding rather than replacing mature frameworks.

AIAlgorithmsNumPy
0 likes · 4 min read
Numpy‑ML: A Comprehensive Pure‑NumPy Implementation of Machine Learning Algorithms
Test Development Learning Exchange
Test Development Learning Exchange
Nov 29, 2024 · Fundamentals

Python File Handling: Common Text Processing Scripts

This article presents a comprehensive collection of Python file handling examples, covering basic reading and writing, appending, line extraction, file copying, moving, deletion, directory management, and advanced text processing techniques such as searching, replacing, and statistical analysis, all illustrated with clear code snippets.

File I/OFile OperationsPython
0 likes · 17 min read
Python File Handling: Common Text Processing Scripts
Test Development Learning Exchange
Test Development Learning Exchange
Nov 28, 2024 · Artificial Intelligence

Introduction to Deep Learning with Keras: Building and Training a Simple Neural Network

This tutorial introduces the fundamentals of deep learning, covering neural network basics, Keras fundamentals, and provides a step‑by‑step Python example that loads the Iris dataset, preprocesses data, builds, compiles, trains, evaluates, visualizes, and predicts with a simple neural network model.

AIDeep LearningKeras
0 likes · 7 min read
Introduction to Deep Learning with Keras: Building and Training a Simple Neural Network
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 28, 2024 · Artificial Intelligence

Step-by-Step Guide to Registering Volcengine API, Configuring .cloudiderc, and Running LangChain Quickstart

This tutorial provides detailed instructions for registering the Volcengine API, locating and editing the .cloudiderc file, setting environment variables, installing the Volcengine Python SDK, and troubleshooting common issues when running the LangChain quick‑start examples on a cloud IDE.

AIAPILangChain
0 likes · 6 min read
Step-by-Step Guide to Registering Volcengine API, Configuring .cloudiderc, and Running LangChain Quickstart
Test Development Learning Exchange
Test Development Learning Exchange
Nov 26, 2024 · Artificial Intelligence

Comprehensive Python Tutorial for Data Preprocessing, Feature Engineering, Model Training, Evaluation, and Deployment

This tutorial walks through consolidating the first ten days of learning by covering data preprocessing, feature engineering, model training with linear regression, decision tree, and random forest, model evaluation using cross‑validation, and finally saving and loading the best model, all illustrated with complete Python code examples.

Model TrainingPythondata preprocessing
0 likes · 9 min read
Comprehensive Python Tutorial for Data Preprocessing, Feature Engineering, Model Training, Evaluation, and Deployment
DevOps Engineer
DevOps Engineer
Nov 26, 2024 · Fundamentals

Differences Between pip and pipx in Python Package Management

pip is the general-purpose Python package installer for libraries and scripts, while pipx specializes in isolated installation of command‑line tools, each with its own virtual environment; the article compares their features, use cases, limitations, and provides guidance on when to choose each.

CLI toolsPythonpackage management
0 likes · 5 min read
Differences Between pip and pipx in Python Package Management
Test Development Learning Exchange
Test Development Learning Exchange
Nov 25, 2024 · Artificial Intelligence

Complete Machine Learning Project: Data Collection, Cleaning, Feature Engineering, Model Training, Evaluation, and Deployment

This tutorial walks through a complete machine learning project in Python, covering data collection, cleaning, feature engineering, training linear regression, decision tree, and random forest models, evaluating them with cross‑validation, and finally deploying the best model using joblib.

Python
0 likes · 8 min read
Complete Machine Learning Project: Data Collection, Cleaning, Feature Engineering, Model Training, Evaluation, and Deployment
Baidu Geek Talk
Baidu Geek Talk
Nov 25, 2024 · Artificial Intelligence

PP-ShiTuV2: A General Image Recognition Pipeline in PaddleX

PP‑ShiTuV2, a PaddleX pipeline that integrates subject detection, deep feature encoding, and vector retrieval, delivers 91 % recall@1 on AliProducts, surpasses earlier models by over 20 points, runs efficiently on GPU and CPU, and offers simple installation, quick‑start code, and full fine‑tuning support.

Computer VisionDeep LearningModel Deployment
0 likes · 8 min read
PP-ShiTuV2: A General Image Recognition Pipeline in PaddleX
Test Development Learning Exchange
Test Development Learning Exchange
Nov 24, 2024 · Fundamentals

Common Python Magic Methods and Their Usage

This article introduces Python's most frequently used magic methods—including __new__, __init__, __str__, __add__, __len__, __getitem__, __setitem__, __delitem__, __contains__, __bool__, __iter__, comparison operators, arithmetic operators, and context manager methods—explaining their purpose, typical use cases, and providing clear code examples for each.

MagicMethodsOOPPython
0 likes · 11 min read
Common Python Magic Methods and Their Usage
System Architect Go
System Architect Go
Nov 24, 2024 · Artificial Intelligence

Building a Web Voice Chatbot with Whisper, llama.cpp, and LLM

This article demonstrates how to build a web‑based voice chatbot by integrating Whisper speech‑to‑text, llama.cpp LLM inference, and WebSocket communication, detailing both the frontend JavaScript implementation and the Python FastAPI backend, along with Docker deployment and example code.

FastAPIJavaScriptLLM
0 likes · 10 min read
Building a Web Voice Chatbot with Whisper, llama.cpp, and LLM
Test Development Learning Exchange
Test Development Learning Exchange
Nov 23, 2024 · Operations

Comprehensive Python Automation Scripts for Common Tasks

This article presents a collection of practical Python scripts covering file management, web scraping, email sending, Excel handling, data cleaning, image processing, system monitoring, PDF manipulation, OCR, database interaction, social media posting, testing, and cloud storage, each with clear descriptions and ready‑to‑run code examples.

PythonScriptingWeb Scraping
0 likes · 12 min read
Comprehensive Python Automation Scripts for Common Tasks
Python Programming Learning Circle
Python Programming Learning Circle
Nov 23, 2024 · Fundamentals

Advanced Python Concepts: Exception Handling, Collections, itertools, Lambdas, Decorators, Generators, Threads, Dunder Methods, Logging, and Context Managers

This article introduces ten advanced Python topics—including exception handling, the collections and itertools modules, lambda functions, decorators, generators, threading, dunder methods, logging, and context managers—providing explanations, code examples, and practical tips to help developers deepen their programming skills and prepare for interviews.

AdvancedCollectionsGenerators
0 likes · 13 min read
Advanced Python Concepts: Exception Handling, Collections, itertools, Lambdas, Decorators, Generators, Threads, Dunder Methods, Logging, and Context Managers
Python Programming Learning Circle
Python Programming Learning Circle
Nov 23, 2024 · Fundamentals

Useful Python Tricks and Advanced Techniques

This article presents a collection of lesser‑known Python tricks—including string cleaning with translate, iterator slicing via itertools.islice, skipping header lines, keyword‑only functions, custom context managers, memory‑saving __slots__, resource limits, import control, and total_ordering—to help developers write cleaner, more efficient code.

Memory OptimizationPythoncontext manager
0 likes · 10 min read
Useful Python Tricks and Advanced Techniques
Test Development Learning Exchange
Test Development Learning Exchange
Nov 22, 2024 · Artificial Intelligence

Introduction to Data Modeling with Scikit-Learn

This article provides a comprehensive guide to using Scikit-Learn for data modeling, covering linear regression and decision tree algorithms, including data preparation, model training, evaluation metrics, and visualization techniques for predictive analysis.

Data ScienceDecision TreesPython
0 likes · 4 min read
Introduction to Data Modeling with Scikit-Learn
JD Cloud Developers
JD Cloud Developers
Nov 22, 2024 · Frontend Development

How Playwright Transforms Car‑Insurance UI Testing: From Recording to Automated Reporting

This article explains how Playwright can automate the UI testing of a car‑insurance H5 application, covering background challenges, tool installation, recording test cases, API response verification, building a full automated testing pipeline, and a demo that reduces manual effort while improving reliability.

Car InsurancePlaywrightPython
0 likes · 10 min read
How Playwright Transforms Car‑Insurance UI Testing: From Recording to Automated Reporting
Practical DevOps Architecture
Practical DevOps Architecture
Nov 21, 2024 · Information Security

Python Script to Retrieve Domain SSL Certificate Expiration Date and Remaining Days

This article presents a Python script that retrieves a domain's SSL certificate information, parses its start and expiration dates, converts them to datetime objects, and calculates the remaining days until the certificate expires, providing a simple command‑line tool for monitoring certificate validity.

CertificateExpirationPython
0 likes · 3 min read
Python Script to Retrieve Domain SSL Certificate Expiration Date and Remaining Days
Test Development Learning Exchange
Test Development Learning Exchange
Nov 21, 2024 · Artificial Intelligence

Data Preprocessing: Standardization, Normalization, and Missing Value Imputation with Python

This tutorial demonstrates how to perform essential data preprocessing techniques—including standardization, min‑max normalization, and various missing‑value imputation methods—using pandas and scikit‑learn in Python, providing code examples and explanations to help you prepare datasets for machine‑learning models.

Pythonmissing value imputationnormalization
0 likes · 6 min read
Data Preprocessing: Standardization, Normalization, and Missing Value Imputation with Python
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 21, 2024 · Databases

How to Sync Redis with MySQL: Strategies, Code Samples, and Best Practices

This article explains why syncing Redis with MySQL is essential for performance and consistency, and details three implementation methods—database triggers, application-level double writes, and message queues—providing code examples, practical tips, and key considerations for reliable data synchronization.

Database TriggersMessage QueuePython
0 likes · 8 min read
How to Sync Redis with MySQL: Strategies, Code Samples, and Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 20, 2024 · Artificial Intelligence

Resolving 02_DocQA.py Errors and Using LangChain to Call Large Models Locally

This guide explains how to fix the ArkNotFoundError in the 02_DocQA.py script by configuring a Doubao‑embedding endpoint, setting up a Conda environment with the latest LangChain packages, and provides step‑by‑step code examples for invoking both Zhipu glm‑4 and Volcano large language models via LangChain.

EmbeddingEnvironment setupLangChain
0 likes · 9 min read
Resolving 02_DocQA.py Errors and Using LangChain to Call Large Models Locally
Test Development Learning Exchange
Test Development Learning Exchange
Nov 19, 2024 · Fundamentals

Advanced Pandas Tutorial: Multi‑Index and apply Method

This tutorial demonstrates how to use Pandas' advanced features, including creating and manipulating multi‑level indexes, selecting data with hierarchical keys, resetting and sorting indexes, and applying custom functions to columns and rows using the apply method, with comprehensive code examples.

Multi-IndexPythonapply
0 likes · 5 min read
Advanced Pandas Tutorial: Multi‑Index and apply Method
Python Programming Learning Circle
Python Programming Learning Circle
Nov 19, 2024 · Databases

Overview of Lightweight Python Databases and Their Usage

This article surveys several lightweight Python databases—including PickleDB, TinyDB, ZODB, Durus, Buzhug, Gadfly, and PyTables—detailing their main features, typical use cases, cautions, and providing basic code examples to help developers choose and apply the right storage solution for small‑scale or prototype projects.

NoSQLObject PersistencePython
0 likes · 23 min read
Overview of Lightweight Python Databases and Their Usage
Model Perspective
Model Perspective
Nov 18, 2024 · Fundamentals

Explore Four Innovative Python Charts to Elevate Your Data Visualizations

This article introduces four innovative Python chart types—Radar Chart, Treemap, Ternary Plot, and Joy Plot—explaining their concepts, typical applications such as performance evaluation and market analysis, and providing complete code examples to help data analysts create compelling visualizations.

Data visualizationJoy PlotPython
0 likes · 8 min read
Explore Four Innovative Python Charts to Elevate Your Data Visualizations