0

I have a DataFrame which consists of a single column, and single entry. is there a more direct way of getting that single value other than:

df.values.item(0)
rafaelc
  • 57,686
  • 15
  • 58
  • 82
laszlopanaflex
  • 1,836
  • 3
  • 23
  • 34

1 Answers1

1

This should work:

df.iat[0, 0]
Chachni
  • 427
  • 4
  • 11