Hands-On Lab 1: Using Pandas DataFrames in Python Python lab using native libraries (OS, Lists) as well as the Pandas dataframe library, to prepare you

Hands-On Lab 1: Using Pandas
DataFrames in Python
Python lab using native libraries (OS, Lists) as well as the Pandas dataframe library, to
prepare you for common techniques in reading and organizing data.
100 points.  
In this lab we're going to learn how to read in several spreadsheet files. Each file
contains annual superstore sales data for a particular market during a particular year.
There are 28 files in all. We will read the contents from each file into a pandas
dataframe where we can extract meaningful information from the data.
Video Tutorial
Dataset Download

  1. Download Module1Data.zip to your local computer. Unzip the file.
  2. In your Google Drive account, create a new folder called “MSDA683”. Copy your
    unzipped Module1Data folder to the new MSDA683 in your Google Drive account.
  3. Create a new notebook called “MSDA683-Module1” in https://colab.google.com
  4. Mount your Google Drive to your notebook
  5. In a new cell, Import the OS and pandas libraries.
  6. In a new cell, create a ‘path’ variable equal to the location of your Google Drive
    module 1 folder.
  7. Create a variable called ‘salesFolder’ that connects to the path location.
  8. Create a variable called ‘li’ with an empty list
  9. Iterate through the files in your salesFolder. For each file
  10. Set the filename to the current file

2 – MSDA 683, NIU College of Business, OM & IS Dept. 2025. J. Kearsing

  1. Print the path and file name
  2. Read the contents of that file into a dataframe
  3. Print the number of records in the new dataframe.
  4. Append the dataframe to your list.
  5. Create a new variable called “frame” that sets the contents of the list to a new
    dataframe.
  6. In a new cell, show the first five records of the new dataframe.
  7. In a new cell, show the dataframe info.
  8. In a new cell, show the count of unique values in each column.

3 – MSDA 683, NIU College of Business, OM & IS Dept. 2025. J. Kearsing
14. In a new cell, show the total Sales, Profit, the Cost of Goods Sold, and Profit

4 – MSDA 683, NIU College of Business, OM & IS Dept. 2025. J. Kearsing
Margin.

5 – MSDA 683, NIU College of Business, OM & IS Dept. 2025. J. Kearsing
15. In a new cell, show the total Sales and Profit grouped by Market, rounded to two
decimal points.

  1. In a new cell, show total Sales and Profit with a calculated Cost of Goods Sold
    column, grouped by Market.
  2. STUDENT PROBLEM 1. In a new cell, show the total Sales, total Profit,
    calculated COGS, and calculated Profit Margin, grouped by Market, and sorted by
    highest Profit Margin. Output should look like this:

6 – MSDA 683, NIU College of Business, OM & IS Dept. 2025. J. Kearsing
18. STUDENT PROBLEM 2. In a new cell, show a descending list of total Sales
grouped by County. Output should look like this:

  1. STUDENT PROBLEM 3. In a new cell, show a descending list of total Profit by
    Sub-Category (i.e. product type), rounded two decimal places. Output should look like

7 – MSDA 683, NIU College of Business, OM & IS Dept. 2025. J. Kearsing
this:

  1. STUDENT PROBLEM 4. In a new cell, show total Sales, total Profit, and
    calculated Profit Margin, by Sub-Category, sorted by highest Profit Margin. Output
    should look like this:

8 – MSDA 683, NIU College of Business, OM & IS Dept. 2025. J. Kearsing

Read more

The final essay requires you to read 3 journal articles regarding current challenges, problems, issues, etc. within the retail industry. You must choose one of the three articles and answer the questions associated with the article you selected.

The final essay requires you to read 3 journal articles regarding current challenges, problems, issues, etc. within the retail industry. You must choose one of the three articles and answer the questions associated with the article you selected. You must provide solution(s) to assist in alleviating the current problem

By Jamez Blake

Identify an advocacy organization or agency or coalition working on a specific policy (preferably a public policy). It should be one attempting to influence legislation or regulation. You can use an issue or topic related to a specific

Identify an advocacy organization or agency or coalition working on a specific policy (preferably a public policy). It should be one attempting to influence legislation or regulation. You can use an issue or topic related to a specific social welfare policy in which you are interested or engaged e.g.

By Jamez Blake

Read this article to learn more about the point method: Point Method of Job Evaluation For this assignment, use ChatGPT, Microsoft Copilot, or another artificial intelligence (AI) tool you are comfortable with, and create 2 job description

Job descriptions are foundational documents that serve multiple purposes within an organization. They are essential tools for clarifying roles, aligning expectations, and supporting various human resources (HR) and business functions. The point method is a job evaluation technique used to assess the relative value or worth of jobs within an

By Jamez Blake

Compensation is a critical component of an organization’s overall human resources (HR) strategy, directly influencing employee satisfaction, motivation, and retention. Strategic compensation refers

Compensation is a critical component of an organization’s overall human resources (HR) strategy, directly influencing employee satisfaction, motivation, and retention. Strategic compensation refers to the practice of designing compensation systems that align with an organization’s goals, market conditions, and the needs of its workforce. It plays a significant

By Jamez Blake
✍️ Get Writing Help
WhatsApp