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 and
For both Assignments, you will continue to extract your datasheet allotment from the MS Excel Workbook used in Assignment
The first part of these instructions is similar to Assignment
However, in addition to your Indicating the dtype of each column, you will further supply the following information:
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.
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.
For example, if your effective rectangle of data spans a range of rows and columns, you will write your shape as: Shape: r c
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 DatasheetTutorial xlsx for which the dtypes are assigned not necessarily all correct and we have:
Shape: r c
DTypeSN Dtype Counts
Index
DateTime
Not classified
Num float
Num integer
Cat binary
Cat ordinal
Cat nominal
Total columns
Note:
You can copy and paste the above table and use as a template for returning your Assignments.
You MUST be careful when determining the number of rows. For example, with doubleheader rows for this instance with our template, we need to subtract from the last worksheet row index value: You should not rely on the sequence of index columns because not all index columns have sequential integer values.
You will notice that the number of columns in the shape statement has the exact same value as the sumcounts 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 SCC
NBC S SC
KS Pd SC
NDC Pd SC
SBS S SC
ACS S SC
NDC Pd SC
LGL S SC
SBS PdS SC
NRS S SC
NFS S SC
KS Pd SC
ABL S SC
LPL S SC
AGT Pd SC
PBL S SC
CHR S SC
KSC S SC
TPP S SC
GT PdS SC
NBC PdS SC
THM S SC
NWS S SC
TAB Pd SC
ABS Pd SC
MBSBL S SC
WS S SC
THM Pd SC
GT PdS SC
ADBS S SC
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
