How do data types (nominal, ordinal, interval, ratio, datetime) shape your choice of EDA techniques and plots?
Quick Overview
Asks how the type of each column, from nominal and ordinal to interval, ratio and datetime, should change the summaries and plots used in exploratory data analysis. Tests which operations each measurement level supports and how pairs of types determine bivariate techniques.
How do data types (nominal, ordinal, interval, ratio, datetime) shape your choice of EDA techniques and plots?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
How do different data types (nominal, ordinal, interval, ratio, categorical, numerical, datetime) influence your choice of EDA techniques and visualizations?
```hint Which operations make sense
For each type, ask which comparisons are meaningful: equality, order, differences, ratios.
```
```hint Pairs of columns
Single-variable views are only part of EDA. Think about what changes when you look at two variables of different types together.
```
### What a Strong Answer Covers
- How the listed types relate to each other, including which are subtypes of which.
- Suitable summary statistics for each type, justified by the operations that type supports.
- Suitable single-variable visualizations for each type, including the checks specific to datetime columns.
- How the combination of two types drives the choice of bivariate techniques.
- Common mismatches between a technique and a data type.
### Follow-up Questions
- Is it reasonable to report the mean of a 1 to 5 satisfaction rating? When does it mislead?
- How would you explore a categorical column with 50,000 distinct values?
- Which correlation measure would you use between an ordinal variable and a numeric one?
- What would you check in a timestamp column before plotting it as a time series?
Overview: Asks how the type of each column, from nominal and ordinal to interval, ratio and datetime, should change the summaries and plots used in exploratory data analysis. Tests which operations each measurement level supports and how pairs of types determine bivariate techniques.
How do different data types (nominal, ordinal, interval, ratio, categorical, numerical, datetime) influence your choice of EDA techniques and visualizations?
What a Strong Answer Covers Guidance
How the listed types relate to each other, including which are subtypes of which.
Suitable summary statistics for each type, justified by the operations that type supports.
Suitable single-variable visualizations for each type, including the checks specific to datetime columns.
How the combination of two types drives the choice of bivariate techniques.
Common mismatches between a technique and a data type.
Follow-up Questions Guidance
Is it reasonable to report the mean of a 1 to 5 satisfaction rating? When does it mislead?
How would you explore a categorical column with 50,000 distinct values?
Which correlation measure would you use between an ordinal variable and a numeric one?
What would you check in a timestamp column before plotting it as a time series?