refactor-loops-to-pandarallel-parallel-processing
Converts sequential Python loops into parallelized code using the `pandarallel` library, handling DataFrame conversion, function scoping, and FastAPI integration.
अपने एजेंट के लिए सही क्षमता खोजें।
Converts sequential Python loops into parallelized code using the `pandarallel` library, handling DataFrame conversion, function scoping, and FastAPI integration.
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
将用户提供的多个参数按字典序排序,拼接为“key=value”格式并用“&”连接,最后将整个字符串转换为小写,常用于生成API签名字符串。
在Python 2.7环境下解析Windows目录链接(Junction)或符号链接的真实物理路径。提供基于PyWin32 API和PyQt4/5 QProcess调用cmd命令的两种解决方案,解决os.path.realpath失效及输出解析问题。
封装一个Python类EntityExtractor,用于从字符串中提取指标、业务线、车型、地区等实体。该类使用正则表达式匹配括号内容,并根据预定义的实体库进行过滤。
Generates a complete Python project featuring a Tkinter GUI and a Streamlit web dashboard for a bar stock exchange system. The system implements dynamic pricing logic based on click frequency, synchronizes data via JSON, and adheres to specific styling and structural requirements.
Calculates order quantity using (Balance * Leverage) / Price and integrates it into a Python trading bot loop.
Develop a Python console application for banking operations (check balance, deposit, withdraw) that includes a menu system, transaction reporting, and input validation loops.
Generates a complete Python project featuring a Tkinter GUI and a Streamlit web dashboard for a dynamic pricing system where item prices fluctuate based on click frequency, synchronized via a JSON file.
Provides concise, bullet-pointed explanations of technical concepts (specifically OOP) tailored for senior engineers, emphasizing Python-specific implementations and nuances for interview preparation.
在Python 2环境中编写json.dumps处理字典数据的代码,实现默认UTF-8编码失败时回退到GBK编码,其他异常输出格式错误的逻辑。
在Python中不调用现成的高级库函数(如cv2.Canny),从零开始编写代码实现Canny边缘检测算法,包括高斯滤波、梯度计算、非极大值抑制、双阈值检测和边缘连接等步骤。
在Python中实现C#的Quaternion.AngleAxis功能,根据旋转轴和角度生成四元数,且不使用numpy.quaternion库。