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.
The code to calculate the number of characters and the size of words is as follows:
x = input("Enter your text here: ")
char=0
word=1
for i in x:
char = char+1
if(i==' '):
word=word+1
print("Number of words in the given string ",word)
print("Number of characters in the given string ",char)
<h3>Code explanation:</h3>
The code is written in python
- The first line of code, we store the users input in a variable called x.
- Then we initialise the variable char to zero.
- The variable word is also initialise to zero
- The we loop through the user's input and count the character
- We also look for space to know the word, then count the words .
- Finally, we print the number of word and the number of character.
learn more on python code here: brainly.com/question/20379340
Answer:
I don't know ricopacifico
Answer:
Try playing with its settings. (if it has any), Or maybe put a pop filter on the microphone to improve voice clarity. (can be an old sock), Please read some forum on the topic or better yet find out the manufacture(brand) of your microphone, and then read their recommendations.
Explanation: