Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does numpy do this?
#2
I don't really understand what you mean - array is an ndarray per the result from line 3, as you suggest. You aren't getting Python lists anywhere in that code. print is obviously using the string representation (from the methods you suggest); what else could it do?
Reply


Messages In This Thread
How does numpy do this? - by rudihammad - Jun-19-2020, 06:08 AM
RE: How does numpy do this? - by ndc85430 - Jun-19-2020, 06:14 AM
RE: How does numpy do this? - by rudihammad - Jun-19-2020, 06:41 AM
RE: How does numpy do this? - by buran - Jun-19-2020, 06:43 AM
RE: How does numpy do this? - by buran - Jun-19-2020, 06:44 AM
RE: How does numpy do this? - by rudihammad - Jun-19-2020, 07:17 AM

Forum Jump:

User Panel Messages

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