What are the different ways to create a pandas Series?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks for the ways to build a pandas Series from a list, NumPy array, dict, scalar or DataFrame column. It tests how the index and dtype are set in each case, including what happens when a dict and an explicit index disagree.