Tresata Interview Questions

Tresata Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(54)
Machine Learning
(28)
Probability
(26)
A/B Testing
(16)
SQL
(15)

Tresata Interview Questions

Practice for the Tresata interview with these recently asked interview questions.

QuestionTopicDifficulty
Data Structures & Algorithms
Medium

You’re given a dataframe containing sales data from a grocery store chain with columns for customer ID, gender, and date of sale.

Create a new dataset with summary level information on their purchases including the columns:

  • customer_id
  • gender
  • most_recent_sale
  • order_count

most_recent_sale should display the date of the customer’s most recent purchase. order_count should display the total number of purchases that the customer has made.

Example:

Input:

import pandas as pd

customers = {
"customer_id" : [5156, 2982, 1011, 3854, 2982],
"gender" : ["m", "f", "m", "f", "f"], 
"date of sale" : ["2021-01-04", "2021-02-15", "2021-03-01", "2021-03-21", "2021-04-12"]
}

customer_df = pd.DataFrame(customers)

Output:

customer_id gender most_recent_sale order_count
1011 m 2021-03-01 1
2982 f 2021-04-12 2
3854 f 2021-03-21 1
SQL
Easy
Data Structures & Algorithms
Easy
Loading pricing options

View all Tresata questions

Challenge

Check your skills...
How prepared are you for working at Tresata?

Tresata Salaries by Position

ML Engineer*
$100K
ML Engineer
Median: $100K
Mean (Average): $100K
Data points: 1
Data Engineer*
$90K
Data Engineer
Median: $90K
Mean (Average): $90K
Data points: 1

Most data science positions fall under different position titles depending on the actual role.

From the graph we can see that on average the ML Engineer role pays the most with a $100,000 base salary while the Data Engineer role on average pays the least with a $90,000 base salary.

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.

Discussion & Interview Experiences

There are no comments yet. Start the conversation by leaving a comment.

Jump to Discussion