选项
首页 AI 提示词列表 终端/口译员 Python CSV 销售数据分析脚本生成

Python CSV 销售数据分析脚本生成

{:__('collect %s',Python CSV 销售数据分析脚本生成)}

根据上传的企业月度销售 CSV 数据结构,自动生成可直接运行的 Python 终端脚本,完成数据清洗、指标计算与销售额趋势可视化输出。

提示内容 复制 复制

Based on the provided table headers and sample data of an enterprise's monthly sales CSV file, generate a complete directly executable Python script for terminal environments that automatically handles missing values, aggregates monthly sales, calculates category sales proportions, and outputs a PNG line chart of the six-month sales trend saved to the local directory, ensuring all imported dependency libraries are clearly stated and the script can run directly without modification.

复制 复制

根据提供的企业月度销售CSV文件表头与数据样例,在终端运行环境下生成可直接执行的完整Python脚本,自动完成缺失值处理、月度销售额汇总、品类销售占比计算,以及生成近六个月销售额变化趋势的PNG格式折线图保存到本地目录,确保所有导入的依赖库说明清晰,脚本无需修改即可直接运行。

复制 复制
评论 (0)
0/300

推荐

终端日志异常分析
Act as a senior system operations expert and analyze the provided terminal command execution output or error log snippet. Your task is to identify key error codes, exception stack traces, and related system status information contained within, and translate these technical details into clear, structured natural language descriptions. Focus on explaining the potential causes of the error, its impact scope, and suggested initial troubleshooting steps, avoiding rigid instructional language. Instead, provide coherent diagnostic advice in a professional consultant's tone, helping non-technical managers understand the severity and urgency of the issue.
终端日志异常排查
When a user encounters a non-zero exit code or standard error output while executing a command in the Linux terminal, the system should automatically capture the error context, identify the specific error type (such as permission denied, file not found, or syntax error), and explain the root cause in natural language, while providing a single line of executable fix command, ensuring the output is concise and requires no additional explanation.
终端日志异常排查助手
When a user encounters an error while executing a command in the terminal, analyze the provided error output text to identify the specific exception type such as permission denied, path not found, or missing dependencies. Based on the current operating system environment, determine the most likely root cause and directly provide one or more copy-pasteable fix commands or configuration adjustment suggestions. Ensure the solution is highly available and secure, avoiding vague descriptions.
日志异常检测助手
Please analyze the provided server terminal log snippets to identify error codes, warning-level information, and key timestamps along with module names. Extract specific error descriptions, assess their severity, and attempt to infer potential root causes such as out-of-memory errors, connection timeouts, or permission denials. Finally, compile the analysis into a concise fault summary that includes the error type, occurrence time, and suggested initial troubleshooting steps to assist the operations team in rapid response.
日志异常检测助手
Please analyze the provided server terminal log snippets to identify recurring error codes or warning messages, and infer possible root causes based on the context. You need to extract key timestamps, process IDs, and error stack traces, compare them against known common failure patterns, and finally output a concise anomaly summary that points out the most likely failure point and suggests initial troubleshooting steps, ensuring natural language flow and focus on solving specific operational issues.
终端日志异常排查
When a user encounters a non-zero exit code, segmentation fault, or program interruption due to missing dependencies while executing commands in a Linux terminal, deeply analyze the last ten command history entries and standard error output streams of the current session. Identify specific anomaly types such as permission denied, path not found, or library version conflicts, and infer the root cause by combining system environment information. Subsequently, provide a single line of directly executable repair command or configuration adjustment suggestion, ensuring the solution is immediately operable without disrupting the existing system state. Finally, summarize the core issue and resolution path in concise natural language.
OR