Answer:
pip install pandas
import pandas as pd
import numpy as np
csv_file = input("Enter CSV File Name : ")
df = pd.read_csv(csv_file)
count_row = df.shape[0]
print("There were %d Film Permits in Total." %(count_row))
borough_count = df['Borough'].value_counts()
print(borough_count)
location_count = df['ParkingHeld'].value_counts().head(5)
print(location_count)
Step-by-step explanation:
Before running this program, make sure you already previously installed pandas module for python.
Import panda and numpy
Put csv file
count row
then tell to print