Answer:
import pandas as pd
df = pd.read_csv('nycHistPop_csv', skiprows=5)
NY_region = list(df.columns[1: -1])
select_region = input("Enter region: ")_capitalize()
if select_region in NY_region:
pass
else:
raise("Region must be in New york")
def pop(location):
# or used describe() to replace all like: print(df[location]_describe())
print(df[location]_min())
print(df[location]_max())
print(df[location]_mean())
print(df[location]_median())
print(df[location]_td())
pop(select_region)
Explanation:
Pandas is a python packet that combines the power of numpy and matplotlib used for data manipulation. It is good for working with tables that are converted to dataframes.
The nycHistPop_csv file is read to the code to a dataframe called "df", then the user input and the function "pop" is used to automatically generate the statistics of a given region.
Answer:
b.Make every attempt to recover the data
Explanation:
If you have important data on your hard drive that is not backed up and your Windows installation is so corrupted you know that you must refresh the entire installation you should make every attempt to recover the data.
Answer:
True
Explanation:
When an object is falling under the influence of gravity, the distance of fall as a function of time is given by:
D(t)=ut + 1/2 * a * t^2
Where
u = initial velocity of the object ( = 0 in this case as the object is falling only under gravity),
a = acceleration of the falling object = g = 9.8 m/s^2 which represents the acceleration due to gravity.
Simplifying,
D(t) = 1/2 * g * t^2
Answer:
Please find the attachment of the correct code.
Explanation:
In the given Html code the marquee tool is used, which uses the attributes, that are "behavior and direction".
In the behavior attribute, it uses the "scroll", and in the direction attributes, it uses the "down", and inside the marquee tag, it uses the message, that is "Followmeguys", which runs from up to down.