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?
#2
Parenthesis are always required for functions/methods/instantiating objects.

You're obviously using numpy, which does a few magic things with attribute lookup to help make working with large datasets easier (which means, for numpy, not using parenthesis is the right choice).
Reply


Messages In This Thread
RE: What is the difference between parenthesis and no parenthesis in head and tail? - by nilamo - May-12-2017, 08:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  head() d8a988 4 2,680 Sep-03-2020, 09:08 AM
Last Post: buran
  pandas head() not reading all rows naab 0 1,827 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