Data Interview Qs - Fraudulent transactions

InterviewQs

Fraudulent transactions

Data Analysis Python Pandas Data Manipulation Data Visualization Histogram External Dataset

Forward this email to a friend or colleague and challenge them to solve it.

Hi, 

The following dataset contains the following fields that describe the online transaction:

  • user_id: unique id of user
  • signup_time: time that the user created account
  • purchase_time: time of the transaction
  • purchase_value: amount of the transaction
  • device_id: device that user conducted transaction on
  • source: attribution channel for the transaction
  • browser: browser that user conducted transaction on
  • sex: gender of the user
  • age: age of the user
  • ip_address: IP address of the purchase
  • is_fraud: if the transaction is flagged as fraudulent

Can you describe the major differences between the non-fraud vs fraud transactions?

More specifically, can you create histograms for purchase value, time between sign up and purchase time, and age -- with fraud/non-fraud differentiated on the same chart?

Solution will be written using Python.



 

You’ve accumulated 184 questions since joining our email list. Create a premium account to access detailed solutions to each problem (including this one) + our new Case studies.


Was this email forwarded to you? You can join our list here to receive questions

How did you like today's question?

15411 Boischatel, Montreal, QC, H9H1Y7, Canada
Don't want to get these emails anymore? We'll forgive you if you unsubscribe

Older messages

Bias-Variance Tradeoff

Friday, September 3, 2021

InterviewQs Bias-Variance Tradeoff Forward this email to a friend or colleague and challenge them to solve it. Hi, Can you explain what the Bias-Variance Tradeoff is? Can you share an example of when

Subarray sums

Wednesday, September 1, 2021

InterviewQs Subarray sums Forward this email to a friend or colleague and challenge them to solve it. Hi, Suppose you're given an array of integers, and a number x. Find the smallest subarray with

Picking a survey group

Monday, August 30, 2021

InterviewQs Picking a survey group Forward this email to a friend or colleague and challenge them to solve it. Hi, You work for a large hardware company (one that manufactures watches, computers, and

Replacing bad data with Pandas

Friday, August 27, 2021

InterviewQs Replacing bad data with Pandas Forward this email to a friend or colleague and challenge them to solve it. Hi, Suppose you are given a dataframe, df, that contains various negative values.

Coin toss patterns (state transition diagrams)

Wednesday, August 25, 2021

InterviewQs Coin toss patterns (state transition diagrams) Forward this email to a friend or colleague and challenge them to solve it. Hi, A fair coin is tossed repeatedly and independently. Find the

You Might Also Like

Google DeepMind unveils a new AlphaFold

Wednesday, May 8, 2024

Plus: Atlan grabs $105M and New Yorkers say hi to Dubliners View this email online in your browser By Christine Hall Wednesday, May 8, 2024 Good afternoon, and welcome to your Hump Day TechCrunch PM. I

Apple would never make this mistake

Wednesday, May 8, 2024

Rabbit R1 AI hardware fails spectacularly ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

JSK Weekly - 8th May, 2024

Wednesday, May 8, 2024

Are you interested in combining your love for chess with your passion for coding? A comprehensive video course was just posted on the freeCodeCamp.org YouTube channel that will teach you how to code

💻 Signs You Need a New Laptop — How to Free Up Storage on the PS5

Wednesday, May 8, 2024

Also: 7 Ways to Speed Up Excel Spreadsheets, and More! How-To Geek Logo May 8, 2024 Did You Know The topmost vertebra in the human spine (C1) is called the "atlas" vertebra---a reference to

JSK Daily for May 8, 2024

Wednesday, May 8, 2024

JSK Daily for May 8, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Debugging Like a Pro: 10 Tips for Effective JavaScript Troubleshooting This article will

Daily Coding Problem: Problem #1435 [Medium]

Wednesday, May 8, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Implement the singleton pattern with a twist. First, instead of storing one

Mapped | Visualizing the Tax Burden of Every U.S. State 💸

Wednesday, May 8, 2024

Tax burden measures the percent of an individual's income that is paid towards taxes. See where it's the highest by state in this graphic. View Online | Subscribe Presented by: FEATURED STORY

Noonification: Do Not Open This Article

Wednesday, May 8, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 8, 2024? The HackerNoon Newsletter brings the HackerNoon

Modern Payments. Now.

Wednesday, May 8, 2024

Netevia is breaking down the traditional barriers businesses face through an integrated ecosystem of payments, banking, and ISV solutions. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Top Tech Deals 😍 Beats Studio Pro, Lenovo Yoga 9i, Power Banks, and More

Wednesday, May 8, 2024

Save on a new Galaxy S24 Ultra, headphones, or an Amazon Kindle. How-To Geek Logo May 8, 2024 Top Tech Deals: Beats Studio Pro, Lenovo Yoga 9i, Power Banks, and More Save on a new Galaxy S24 Ultra,