Question: A . As promised, please see the instructions below for the submission of Assignments 2 and 3 . 1 . For both Assignments, you will

A. As promised, please see the instructions below for the submission of Assignments 2 and 3.
1. For both Assignments, you will continue to extract your datasheet allotment from the MS Excel Workbook used in Assignment_1.
2. The first part of these instructions is similar to Assignment_1.
However, in addition to your Indicating the dtype of each column, you will further supply the following information:
1. In a second worksheet of your work book you will state the shape of your dataframe, which translates to the number of rows and columns taken up by the data in your worksheet.
2. Specifically, the row component of the shape of your dataframe omits the header row which has the names of data columns. The remainder of the effective rectangle of filled cells constitutes the range of rows and columns.
3. For example, if your effective rectangle of data spans a range of 237 rows and 23 columns, you will write your shape as: Shape: (r, c)=(237,23).
4. Next, in this very second worksheet, you will make a summary for each of the several dtypes in your dataframe. For example, let us take the datasheet template in the attached file < Demo Heart Datasheet_Tutorial 1.xlsx> for which the dtypes are assigned (not necessarily all correct), and we have:
Shape: (r, c)=(918,16)
DTypeSN Dtype Counts
1 Index 1
2 DateTime 0
3 Not classified 0
4 Num float 1
5 Num integer 4
6 Cat binary 5
7 Cat ordinal 2
8 Cat nominal 3
Total columns 16
Note:
1. You can copy and paste the above table and use as a template for returning your Assignments.
2. You MUST be careful when determining the number of rows. For example, with double-header rows for this instance with our template, we need to subtract 2 from the last worksheet row index value: 9202=918. You should not rely on the sequence of index columns because not all index columns have sequential integer values.
3. You will notice that the number of columns in the shape statement has the exact same value as the sum-counts of the dtypes. This exactness WILL ALWAYS be the case when you have accounted for all columns in your dataframe.
PSN AccDesig PDR WtMTpP ExRtPed SC_C
70 NBC3820.8749686051.861607143 S SC0
71 KS 120.195305932.8734 Pd SC0
72 NDC 880.6054483842.161290323 Pd SC0
73 SBS2560.4687331812.2014 S SC0
74 ACS 730.6640401633.058823529 S SC0
75 NDC 880.7812237211.477925 Pd SC0
76 LGL 700.4062354245.869230769 S SC0
77 SBS2560.6835707561.546628571 Pd_S SC0
78 NRS 860.8788766862.225355556 S SC0
79 NFS 800.9374663631.1507 S SC1
80 KS 120.2148365232.474909091 Pd SC1
81 ABL 160.8593460932.386 S SC0
82 LPL 670.2812399095.691666667 S SC0
83 AGT 720.9179378721.276425532 Pd SC0
84 PBL 50.1757753375.950818182 S SC0
85 CHR2580.3124887883.7451 S SC1
86 KSC 410.3124894882.075875 S SC1
87 TPP 10.6640401633.870764706 S SC0
88 GT 20.5077954191.390615385 Pd_S SC1
89 NBC2810.4296730471.869227273 Pd_S SC0
90 THM4460.4374843035.950818182 S SC1
91 NWS 870.6835707563.960542857 S SC0
92 TAB1470.7616931281.441282051 Pd SC0
93 ABS 190.249991035.950818182 Pd SC0
94 MBSBL 210.6054483844.170096774 S SC1
95 WS 130.2734283023.662285714 S SC1
96 THM3450.3437376661.310272727 Pd SC0
97 GT 20.4296730471.187545455 Pd_S SC1
98 ADBS 320.7421625353.052315789 S SC1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!