Python Forum
What is the difference between parenthesis and no parenthesis in head and tail?
Thread Rating:
  • 2 Vote(s) - 1.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is the difference between parenthesis and no parenthesis in head and tail?
#7
I assure you, if Java runs on a computer, it uses addresses and pointers.
You just don't see them as such, Python as well.
Even if the code is stored as pcode, once it's compiled it will use them.

A pointer is an indirect address, or an offset, which can be a register or a memory location
the 'address' (since it is indirect) points to another memory address, or an offset from that address
This allows changing what the 'pointer' points to by using replacement or some math

Without them, tables or lists and other constructs would be very difficult to construct, and slow.
Reply


Messages In This Thread
RE: What is the difference between parenthesis and no parenthesis in head and tail? - by Larz60+ - May-14-2017, 12:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  head() d8a988 4 2,670 Sep-03-2020, 09:08 AM
Last Post: buran
  pandas head() not reading all rows naab 0 1,820 Apr-07-2020, 01:06 PM
Last Post: naab

Forum Jump:

User Panel Messages

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