Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New to Python
#2
Figured it out...

dn = df.to_numpy(dtype=str)

Had to change the dtype to string to prevent the error.

sym= dn[line,0]
price = dn[line,1]

Now read properly.
Reply


Messages In This Thread
New to Python - by jdc4429 - Jul-30-2020, 10:27 PM
RE: New to Python - by jdc4429 - Jul-31-2020, 03:34 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020