0

I have a series of which the entries are lists. I want to get the first element of every list.

Example:

Input: pd.Series([1,9], [2,8], [3,7])

Output: [1, 2, 3]

Xtiaan
  • 252
  • 1
  • 11

0 Answers0