<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Module-2 on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/02-module/</link><description>Recent content in Module-2 on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>noreply@example.com (AG Sayyed)</managingEditor><webMaster>noreply@example.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><atom:link href="http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/02-module/index.xml" rel="self" type="application/rss+xml"/><item><title>Dictionaries</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/02-module/003-dictionaries/</link><pubDate>Thu, 24 Jul 2025 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/02-module/003-dictionaries/</guid><description>&lt;p class="lead text-primary"&gt;
This document covers Python dictionaries, including keys, values, creation, access, modification, deletion, and methods for managing key-value pairs efficiently.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Dictionaries are collections in Python that store data as key-value pairs. Keys are unique and immutable, while values can be mutable or immutable.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="creating-and-accessing-dictionaries"&gt;Creating and Accessing Dictionaries&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Create a dictionary with curly brackets &lt;code&gt;{}&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Keys must be unique and immutable (often strings).&lt;/li&gt;
&lt;li&gt;Values can be any type and may be duplicated.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Example:&lt;/p&gt;</description></item><item><title>List and Tuples</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/02-module/002-list-tuples/</link><pubDate>Thu, 24 Jul 2025 00:00:00 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/02-module/002-list-tuples/</guid><description>&lt;p class="lead text-primary"&gt;
This document covers Python lists and tuples, including indexing, slicing, mutability, concatenation, nesting, methods, and aliasing, with practical examples for data manipulation and structure.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Lists and tuples are compound data types and key data structures in Python. Both are ordered sequences, but differ in mutability and usage.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="tuples-in-python"&gt;Tuples in Python&lt;/h2&gt;
&lt;p&gt;Tuples are ordered sequences, expressed as comma-separated elements within parentheses. They can contain different types (strings, integers, floats), but the variable type is always tuple.&lt;/p&gt;</description></item><item><title>Module Summary</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/02-module/004-module-summary/</link><pubDate>Sun, 08 Dec 2024 16:54:36 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/02-module/004-module-summary/</guid><description>&lt;p class="lead text-primary"&gt;
This document summarizes the essential concepts of Python data structures, including tuples, lists, dictionaries, and sets. It covers their properties, operations, indexing, slicing, and manipulation techniques for effective data science applications.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="module-summary"&gt;Module Summary&lt;/h2&gt;
&lt;h3 id="tuples"&gt;Tuples&lt;/h3&gt;
&lt;p&gt;Tuples are ordered, immutable collections defined with parentheses &lt;code&gt;()&lt;/code&gt;. They can contain mixed data types and support both positive and negative indexing for element access. Operations such as concatenation and slicing are available, but any modification requires creating a new tuple. Tuples can be nested for complex data structures, and elements in nested tuples are accessed through multi-level indexing.&lt;/p&gt;</description></item></channel></rss>