Algorithm · Meta · Easy
Problem Using Pandas, create a function that summarizes friend-request activity for a social-platform dataset. For the supplied users: Sending rate is the average number of requests sent per user: total requests_sent / number of users. Acceptance rate is the fraction of sent requests that were accepted: total requests_accepted / total requests_sent. Report both values as percentages, rounded to two decimal places. If no requests were sent, the acceptance rate should be…
Checking your access…