Good question. Rather than testing a specific skill (for example, merge Pandas DataFrames and visualize using Seaborn), I'd ask to resolve a mini project where the candidate can choose him or herself the tools (for example, Visualize data from two different data sources). This leaves open the kind of solution that you expect and requires creative problem solving.