Python Forum
dtype in not working in mad() function
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dtype in not working in mad() function
#5
(Jul-21-2019, 12:57 AM)ift38375 Wrote: is there any need of " import numpy as np" command in above program ?
In this case import numpy as np is redundant. However, Numpy is used frequently when doing some calculations and working with data. So, it is better to include that line in your script. Note, you can get access to numpy using pd.np.
Reply


Messages In This Thread
RE: dtype in not working in mad() function - by scidam - Jul-21-2019, 01:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  FutureWarning: Logical ops (and, or, xor) between Pandas objects and dtype-less seque NewBiee 5 1,490 Sep-12-2023, 03:15 PM
Last Post: deanhystad
  Pandas replace function not working on datafram with floats bcrypto 1 2,814 Apr-12-2021, 08:59 PM
Last Post: bcrypto
  Data dtype error according to the rule "safe" AndreasMavro 5 9,016 Feb-27-2020, 10:46 PM
Last Post: Pama
  ValueError: Input contains infinity or a value too large for dtype('float64') Rabah_r 1 12,846 Apr-06-2019, 11:08 AM
Last Post: scidam
  numpy dtype anomaly bluefrog 4 3,474 Nov-07-2018, 12:37 AM
Last Post: bluefrog

Forum Jump:

User Panel Messages

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