         val
0        2.0
1        1.0
2        1.0
3        2.0

[4 rows x 1 columns]