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
  • 52,436
  • 15
  • 51
  • 78
laszlopanaflex
  • 1,616
  • 2
  • 18
  • 32

1 Answers1

1

This should work:

df.iat[0, 0]
Chachni
  • 353
  • 3
  • 11