<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Module-4 on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/</link><description>Recent content in Module-4 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/04-module/index.xml" rel="self" type="application/rss+xml"/><item><title>Module Summary</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/007-module-summary/</link><pubDate>Thu, 24 Jul 2025 13:43:34 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/007-module-summary/</guid><description>&lt;p class="lead text-primary"&gt;
This document summarizes essential concepts in Python file handling, Pandas for data manipulation, and Numpy for numerical and matrix operations. It provides a structured overview of their roles and practical applications in Python data science development.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="module-summary"&gt;Module Summary&lt;/h2&gt;
&lt;h3 id="file-handling-in-python"&gt;File Handling in Python&lt;/h3&gt;
&lt;p&gt;Python provides the &lt;code&gt;open()&lt;/code&gt; function to read, write, and append files, with modes such as &lt;code&gt;r&lt;/code&gt; for reading, &lt;code&gt;w&lt;/code&gt; for writing, and &lt;code&gt;a&lt;/code&gt; for appending. The &lt;code&gt;with&lt;/code&gt; statement ensures files are properly opened and closed. Special characters like &lt;code&gt;\n&lt;/code&gt; indicate new lines, and various methods allow for printing and processing file content.&lt;/p&gt;</description></item><item><title>Two Dimension Numpy</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/006-two-dimension-numpy/</link><pubDate>Thu, 24 Jul 2025 13:30:06 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/006-two-dimension-numpy/</guid><description>&lt;p class="lead text-primary"&gt;
This document covers the creation and manipulation of two-dimensional Numpy arrays, including indexing, slicing, matrix addition, scalar multiplication, Hadamard product, and matrix multiplication. Readers will learn practical techniques for working with 2D data structures in Python.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction-to-2d-numpy-arrays"&gt;Introduction to 2D Numpy Arrays&lt;/h2&gt;
&lt;p&gt;Numpy supports arrays with more than one dimension. Two-dimensional arrays are commonly used to represent matrices and tabular data. Arrays are created by casting nested lists to Numpy arrays.&lt;/p&gt;</description></item><item><title>One Dimensional Numpy</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/005-numpy/</link><pubDate>Thu, 24 Jul 2025 13:18:28 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/005-numpy/</guid><description>&lt;p class="lead text-primary"&gt;
Numpy is a foundational Python library for scientific computing, offering efficient array creation, indexing, slicing, and vector operations. This document covers basic usage, attributes, universal functions, and practical examples for data science and mathematical analysis.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction-to-numpy-and-nd-arrays"&gt;Introduction to Numpy and ND Arrays&lt;/h2&gt;
&lt;p&gt;Numpy provides powerful tools for scientific computing, including ND arrays for storing and manipulating data. Arrays are fixed in size and contain elements of the same type, enabling fast and memory-efficient operations.&lt;/p&gt;</description></item><item><title>Data With Pandas</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/004-data-with-pandas/</link><pubDate>Thu, 24 Jul 2025 13:11:46 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/004-data-with-pandas/</guid><description>&lt;p class="lead text-primary"&gt;
This document covers techniques for analyzing and filtering data in Pandas, including finding unique values in columns, filtering rows based on conditions, and saving results to CSV and other formats. Readers will learn practical steps for working with large datasets efficiently.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="working-with-dataframes-in-pandas"&gt;Working With DataFrames in Pandas&lt;/h2&gt;
&lt;p&gt;Pandas enables efficient data analysis and manipulation using DataFrames. Once a DataFrame is created, various methods can be applied to explore and process the data.&lt;/p&gt;</description></item><item><title>Pandas</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/003-pandas/</link><pubDate>Thu, 24 Jul 2025 12:50:06 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/003-pandas/</guid><description>&lt;p class="lead text-primary"&gt;
Pandas is a powerful Python library for data analysis and manipulation. This document explains how to import Pandas, read CSV and Excel files, create and work with DataFrames, and efficiently access and slice data using various indexing methods. Readers will learn practical techniques for handling tabular data in Python.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction-to-pandas"&gt;Introduction to Pandas&lt;/h2&gt;
&lt;p&gt;Pandas is a widely used Python library that provides tools for data analysis and manipulation. It offers pre-built classes and functions to simplify working with structured data, such as tables and spreadsheets. Importing Pandas is done using the &lt;code&gt;import&lt;/code&gt; command, and it is common to use the abbreviation &lt;code&gt;pd&lt;/code&gt; for convenience.&lt;/p&gt;</description></item><item><title>Writing Files</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/002-writing-files/</link><pubDate>Thu, 24 Jul 2025 12:07:22 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/002-writing-files/</guid><description>&lt;p class="lead text-primary"&gt;
This document explores writing files in Python, covering the open function, file objects, writing methods, appending, copying files, and best practices for file creation and data output.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction-to-writing-files"&gt;Introduction to Writing Files&lt;/h2&gt;
&lt;p&gt;Writing files in Python is essential for data output and storage. The built-in &lt;code&gt;open()&lt;/code&gt; function creates a file object, allowing data to be written using various methods.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="opening-files-for-writing"&gt;Opening Files for Writing&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;open()&lt;/code&gt; function requires the file path and mode:&lt;/p&gt;</description></item><item><title>Reading Files</title><link>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/001-reading-files/</link><pubDate>Thu, 24 Jul 2025 12:04:15 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/ibm/fullstack-content/fullstack-pcert/07-python-datascience/04-module/001-reading-files/</guid><description>&lt;p class="lead text-primary"&gt;
This document explores reading files in Python, covering the open function, file objects, reading methods, and best practices for handling and extracting data from text files.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction-to-reading-files"&gt;Introduction to Reading Files&lt;/h2&gt;
&lt;p&gt;Reading files in Python is essential for data extraction and processing. The built-in &lt;code&gt;open()&lt;/code&gt; function creates a file object, allowing access to file data using various methods.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="opening-files"&gt;Opening Files&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;open()&lt;/code&gt; function requires the file path and mode:&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Mode&lt;/th&gt;
 &lt;th&gt;Purpose&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&amp;lsquo;r&amp;rsquo;&lt;/td&gt;
 &lt;td&gt;Read&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&amp;lsquo;w&amp;rsquo;&lt;/td&gt;
 &lt;td&gt;Write&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&amp;lsquo;a&amp;rsquo;&lt;/td&gt;
 &lt;td&gt;Append&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Example:&lt;/p&gt;</description></item></channel></rss>