To save content items to your account,
please confirm that you agree to abide by our usage policies.
If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account.
Find out more about saving content to .
To save content items to your Kindle, first ensure no-reply@cambridge.org
is added to your Approved Personal Document E-mail List under your Personal Document Settings
on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part
of your Kindle email address below.
Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations.
‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi.
‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
This chapter introduces Python as a powerful yet beginner-friendly programming language essential for data science. It covers getting access to Python through direct installation or integrated development environments like Anaconda and Spyder. The chapter teaches fundamental programming concepts including basic operations, data types, and key data structures (lists, tuples, dictionaries, sets, and DataFrames). Students learn to write control structures using if-else statements and while/for loops, create reusable functions, and make programs interactive through user input. The chapter also explains how to install and use Python packages, which extend the language’s capabilities for specialized tasks. Throughout, practical examples demonstrate concepts like leap year calculations, temperature categorization, and sales data analysis. The chapter emphasizes Python’s accessibility, extensive package ecosystem, and suitability for data science applications, positioning it as an ideal tool for solving computational and data analysis problems.
Recommend this
Email your librarian or administrator to recommend adding this to your organisation's collection.