Python Forum
kindly support with this dropna function not working
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kindly support with this dropna function not working
#3
I ran your code and the dropna worked fine for me. Print the table before and after the dropna and you will see the NaNs are gone. For help on the pivot table you need to provide more information. Other than not saving the results of the pivot, it also appears to work.
Output:
SPECIALITY general ortho_trauma pediatric trauma trauma surgery DOCUMENTED 0.0 5.535367e+09 44554564.0 6.546545e+09 NaN 1.0 3.113313e+06 NaN NaN 5454543.0
The NAN's here are valid as there are no undocumented (0.0) trama surgery or documented (1.0) ortho_trama or pediatric trama. What are you trying to do?
Reply


Messages In This Thread
RE: kindly support with this dropna function not working - by deanhystad - Jul-24-2023, 03:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Excel isnt working properly after python function is started IchNar 2 403 May-01-2024, 06:43 PM
Last Post: IchNar
Exclamation Function Not Working Alivegamer 7 1,996 Jul-19-2022, 01:03 PM
Last Post: deanhystad
  try function working on PC but not raspberry pi AnotherSam 1 1,613 Oct-11-2021, 04:51 AM
Last Post: bowlofred
  Dropna not working WiPi 3 9,845 May-15-2020, 01:26 PM
Last Post: WiPi
  Kindly asking for help with Pywinauto louloulou 0 2,075 Mar-05-2020, 06:55 PM
Last Post: louloulou
  Input() function not working in VS Code darpInd 7 13,667 Feb-17-2020, 03:28 PM
Last Post: snippsat
  Unrelated new function causing existing working function to fail Nick_G 2 2,334 Jan-27-2020, 07:21 PM
Last Post: Nick_G
  User Defined function not working Raj_Kumar 4 3,104 Dec-17-2019, 12:44 PM
Last Post: buran
  Function not working eglaud 0 1,688 Oct-24-2019, 03:30 PM
Last Post: eglaud
  Kindly explain this error BlackList96 4 4,368 Jul-16-2019, 12:46 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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