In this Critical Thinking Assignment, after following the instructions to create a GitHub account…

In this Critical Thinking Assignment, after following the instructions to create a GitHub account at londonessays.com (Links to an external site.)Links to an external site., upload your working project to the GitHub repository to make your code public and accessible. In this way, future employers or colleagues can see your work.
Next, download and run a Python IDE- PyCharm Edu on your computer. PyCharm Edu is free and open source. Licensed under Apache License, Version 2.0., PyCharm Edu can be downloaded and installed following the Python Programming Language Installation Instructions found in the Course Resources folder.
Instructions to Compile Code Program
You will create a new project. Type in the following program and run it to produce the output for the program. Good practice in writing a program in any language, including Python, is to add comments for each line and state clearly what is the program input and output. Your program must include comments, so a reader will know exactly what you are trying to do in each line of code and allow for easy maintenance. Beginning a line with a hash (#) character results in a single line comment and automatically terminated by the end of line. Comments that span multiple lines can be created by adding a triple quote (“””) on each end of the block of comments. You will use PyCharm Edu to run the following Python program. The process must finish with exit code 0.
#BEGIN
“”” Program Begin HERESome data Exploration using Python. Assuming that all the needed packagesare already install for your IDE to find them.”””##############################################################Program name – Data Exploration#input – NONE#output – Some Exploration statistics###############################################################importp

💡 Buy the answer for only $12 Get it now →

andas aspd# Create data_frame of array valuesdf = pd.DataFrame({‘name’:[‘matt’,’lisa’,’richard’,’john’,’Julia’,’jane’,’marlon’],’age’:[23,78,22,19,45,33,20],’gender’:[‘M’,’F’,’M’,’M’,’M’,’F’,’M’],’state’:[‘DC’,’CO’,’DE’,’VA’,’MD’,’DE’,’NY’],’years_of_service’:[10,0,2,0,2,1,5],’iq’:[300,100,110,200,300,10,40]})######################################################### BEGIN extract a 25% sample of data########################################################rows = df.sample(frac =.25)# validate first to check if sample is 0.25 times data or notif(0.25*(len(df))== len(rows)):print(len(df), len(rows))# Display Sample Percentageprint ‘sample of 25%’,rows#END extract a 25% sample of data############################################################# BEGIN Split categorical variables by gender, Sum, Mean, count,# and describe on the data#############################################################Categorical Variables splittinggroupby_gender = df.groupby(‘gender’)forgender, value ingroupby_gender[‘iq’]:print((gender, value.mean()))# Find the Summation of all ages in the dataSumofAge=df[‘age’].sum()print ‘Sum of Ages’, SumofAgeMeanAge = df[‘age’].mean()print ‘Average Ages’, MeanAge# Find the mean of all columnsprint(‘Means of each column’, df.mean(axis=0))# Describe the Dataprintdf[‘iq’].describe()
#END
Python requires great attention to spacing. The program must run without error.
Your assignment submission in a Word document must include:the code (copied from PyCharm Edu)screenshot(s) of PyCharm Edu executing the program,and a screenshot of the output of the program.
All screenshots and figures and must be properly labeled with a short descriptive title.

💡 Buy the answer for only $12 Get it now →