课程
Python 中级
基础技能水平
更新时间 2026年1月
PythonProgramming4小时18 视频87 道练习7,400 XP1.4M+成就证明
创建您的免费帐户
继续使用 Google显示更多选项或
继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
深受数千家公司学习者的喜爱
需要团队培训?
企业版试用课程描述
提升你的 Python 技能
学习 Python 对任何有志于从事数据科学的人来说都至关重要。 学习使用 Matplotlib 的函数可视化真实数据,并熟悉字典和 pandas DataFrame 等数据结构。 这门四小时的中级课程将帮助你在现有的 Python 技能基础上继续提升,并探索新的 Python 应用和函数,扩展你的技能组合,帮助你更高效地工作。学习使用 Python 字典和 pandas
字典提供了 Python 列表的另一种替代方案,而 pandas 数据框是处理表格数据最流行的方式。 在本课程的第二章中,你将了解如何创建和操作数据集,以及如何使用这些结构访问它们。 整个课程中的实践将帮助你在各个领域建立信心。探索 Python 布尔逻辑和 Python 循环
在本课程的后半部分,你将学习逻辑、控制流、筛选和循环。 这些函数用于控制 Python 程序中的决策过程,并帮助你对数据执行更多操作,包括重复语句。 你将通过使用黑客统计来计算你赢得赌注的概率,从而完成这门课程。完成所有章节后,您将能够在工作、新职业或个人项目中运用新学到的技能,并为进一步学习更高级的 Python 做好准备。
先决条件
Introduction to Python1
Matplotlib
Data visualization is a key skill for aspiring data scientists. Matplotlib makes it easy to create meaningful and insightful plots. In this chapter, you’ll learn how to build various types of plots, and customize them to be more visually appealing and interpretable.
2
Dictionaries & Pandas
Learn about the dictionary, an alternative to the Python list, and the pandas DataFrame, the de facto standard to work with tabular data in Python. You will get hands-on practice with creating and manipulating datasets, and you’ll learn how to access the information you need from these data structures.
3
Logic, Control Flow and Filtering
Boolean logic is the foundation of decision-making in Python programs. Learn about different comparison operators, how to combine them with Boolean operators, and how to use the Boolean outcomes in control structures. You'll also learn to filter data in pandas DataFrames using logic.
4
Loops
There are several techniques you can use to repeatedly execute Python code. While loops are like repeated if statements, the for loop iterates over all kinds of data structures. Learn all about them in this chapter.
5
Case Study: Hacker Statistics
This chapter will allow you to apply all the concepts you've learned in this course. You will use hacker statistics to calculate your chances of winning a bet. Use random number generators, loops, and Matplotlib to gain a competitive edge!
Python 中级
课程完成 加入超过19百万学习者,今天就开始Python 中级!
创建您的免费帐户
继续使用 Google显示更多选项或
继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。
通过 DataCamp for Mobile 提升您的数据技能
随时随地通过我们的移动课程和每日 5 分钟编程挑战提升技能。