0% found this document useful (0 votes)
0 views1 page

CSC 306 Statistical Computing Assignment

The document outlines the installation procedures for Python and essential libraries for data analysis, including steps to verify the installation. It also provides a simple Python program to draw a rectangle using asterisks. Additionally, it describes the functions of four key Python libraries: Pandas, NumPy, SciPy, and Matplotlib.

Uploaded by

alibabagaa
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views1 page

CSC 306 Statistical Computing Assignment

The document outlines the installation procedures for Python and essential libraries for data analysis, including steps to verify the installation. It also provides a simple Python program to draw a rectangle using asterisks. Additionally, it describes the functions of four key Python libraries: Pandas, NumPy, SciPy, and Matplotlib.

Uploaded by

alibabagaa
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CSC 306 - Statistical Computing Assignment

1) Procedures for Installing Python and Libraries for Data


Analysis

Step 1: Download Python from [Link] and install it. Ensure you check 'Add Python
to PATH' before clicking Install Now.
Step 2: Verify installation by opening Command Prompt or Terminal and typing:
python --version

Step 3: Install required libraries using pip:


pip install pandas numpy scipy matplotlib

2) Python Program to Draw a Rectangle Using Asterisks

rows = 5
columns = 10

for i in range(rows):
for j in range(columns):
print("*", end="")
print()

3) Functions of the Four Python Libraries

Pandas: Used for data analysis and manipulation. Works with DataFrames and handles CSV/Excel
files.
NumPy: Used for numerical computations and array operations.
SciPy: Used for scientific and statistical computations.
Matplotlib: Used for creating graphs and data visualizations.

You might also like