微信扫码
添加专属顾问
我要投稿
探索AI如何革新数据分析和报告生成的新工具。 核心内容: 1. PandaAI工具的Python基础与问答式数据分析特点 2. 支持的数据源类型及其自然语言查询功能 3. 数据可视化、团队协作与多语言模型支持
pip install "pandasai>=3.0.0b2"
import pandasai as pai
# Sample DataFrame
df = pai.DataFrame({
"country":["United States","United Kingdom","France","Germany","Italy","Spain","Canada","Australia","Japan","China"],
"revenue":[5000,3200,2900,4100,2300,2100,2500,2600,4500,7000]
})
# By default, unless you choose a different LLM, it will use BambooLLM.
# You can get your free API key signing up at https://app.pandabi.ai (you can also configure it in your .env file)
pai.api_key.set("your-pai-api-key")
df.chat('Which are the top 5 countries by sales?')
China, United States, Japan, Germany, Australia
df.chat(
"Plot the histogram of countries showing for each one the gd. Use different colors for each bar",
)
53AI,企业落地大模型首选服务商
产品:场景落地咨询+大模型应用平台+行业解决方案
承诺:免费POC验证,效果达标后再合作。零风险落地应用大模型,已交付160+中大型企业
2025-09-12
AI重塑生产关系:IT部门不会消失,只会进化
2025-09-12
企业知识库构建最佳实践:ChatBI发展中的关键角色
2025-09-06
介绍菜鸟集团ChatBI在物流领域实践及招人
2025-09-03
Dify实战:构建Text2SQL(NL2SQL)智能查询数据库并生成图表工作流
2025-09-02
NL2DSL2SQL是实现ChatBI的正确技术路线吗?
2025-09-02
Text2SQL与DataAgent技术深度对比与实践指南
2025-08-28
阿里巴巴发布首个数据分析Agent,让人人都可拥有AI分析师
2025-08-28
用上这个 Agent 后,再也不用熬夜做报表了
2025-07-01
2025-08-19
2025-06-17
2025-07-18
2025-07-14
2025-06-16
2025-08-24
2025-08-28
2025-07-28
2025-08-23
2025-09-02
2025-08-16
2025-08-14
2025-08-06
2025-07-29
2025-05-27
2025-05-27
2025-05-12