Crime › Re: Woman Bites Off Rapist's TONGUE And Hands It To Police As Evidence by DasaintHope(m): 3:40pm On Feb 24, 2023 |
|
Politics › Re: 2023: Timi Frank Warns Buhari, INEC Against Poll Shift by DasaintHope(m): 6:24pm On Feb 05, 2023 |
Who be this hungry man sef? |
Computer Market › Mac Book For Sale At An Affordable Price by DasaintHope(op): 11:08am On Jan 21, 2023 |
Good evening Nairalanders I'm putting my system on for sale. The specs and photos are attached. Location: preferably with Kaduna and Kano states. I can also use a waybill station. I am actually selling it pretty cheap, cos I just want to dispose of some Gadgets before I travel for a course. The price goes for 250k. A small window of Negotiation is open to serious potential buyers.
PS: The specs are attached below. Number: 07061375181
|
Romance › Re: MYSTERY: How Native Doctor Died After Sex Romp With Manhood Standing by DasaintHope(m): 9:47am On Jan 12, 2023 |
He died a comrade. He will not be missed. |
Crime › Re: Help Alert: Debit Card Fraud by DasaintHope(op): 6:19pm On Dec 27, 2022 |
|
Crime › Re: Help Alert: Debit Card Fraud by DasaintHope(op): 1:23pm On Dec 27, 2022 |
Kajaard: I hope you have called your bank to block the card? That's the first thing to do to prevent further use of the card.
Them apply for a new card. I've done that... What I need is the RRR no so I can investigate and get the persons identity. I'd like to show them some real hospitality |
Crime › Re: Help Alert: Debit Card Fraud by DasaintHope(op): 12:27pm On Dec 27, 2022 |
LeoDeKing: Call your bank.
They will investigate and get back after 10 working days. Ok Sir, but do they have the tools at their disposal to recover the Remitta Retrieval Reference(RRR) No. Of the transaction? |
Crime › Help Alert: Debit Card Fraud by DasaintHope(op): 12:02pm On Dec 27, 2022 |
Good day Nairalanders someone used my debit card to do a payment online. Is there anyway I can get the RRR number or the way to ascertain the identity of the thief. I believe it might be someone closed to me, cos the alert and otp code were deleted from my device. I will appreciate ideas. |
Nairaland General › by DasaintHope(op): 11:24am On Dec 27, 2022*. Modified: 6:20pm On Dec 27, 2022 |
|
Programming › Re: Python: Explorative Data Analysis, Replacing Nan. Help! by DasaintHope(op): 10:30pm On Nov 20, 2022 |
semmyk: ok. Noted sir. If you could provide the exact error message. That will help. Typically, that's the easiest way to assist.
While at it, kindly take note that a code might not throw an error, but might still have a functional error. essentially, it runs but the outcome is not the intended. In your case, the positioning of elif, else goes a long way in what the code would do. See, for instance, the snapshot below. NB: this is based on assumption and generated data (which will be different from that of your trainer)!
In between, I'm not sure why the trainer used the example (s)he used. Not so sure it's pythonic enough. Thanks bro I've gotten it. I shouldn't have made the indentation same for both else statements. |
Programming › Re: Python: Explorative Data Analysis, Replacing Nan. Help! by DasaintHope(op): 7:02pm On Nov 20, 2022*. Modified: 9:29pm On Nov 20, 2022 |
semmyk: Glancing through, seems you might have multiple error down the line. First step, kindly check your indentations
Something like below. I'll try run with random value and feedback. Updated: I see NL distorted the indents. I've manually insert "." to try and preserve indents. Kindly remove all the "." Updated: I see NL continues to distort. I'll do a screenshot
def impute_age(cols): age = cols[0] # assign first column to age Series pclass = cols[1] # why compare operator instead of assign | pclass == cols[1] if pd.isnull(age): if pclass == 1: #integer return 37 elif pclass == 2: #integer return 29 else: return 24 else: return age
impute_age(cols_test)
Thanks boss! If I understand correctly the issue is the = I put instead of == right? Modified: Boss the problem still persists. The issue is with the last else statement. |
Programming › Re: Python: Explorative Data Analysis, Replacing Nan. Help! by DasaintHope(op): 6:25pm On Nov 20, 2022*. Modified: 9:31pm On Nov 20, 2022 |
Samuell2019: The second to the last else should be elif instead. Thanks man. modified: @Samuell2019 the problem is still persisting. it says the elif is incorrect syntax. |
Programming › Python: Explorative Data Analysis, Replacing Nan. Help! by DasaintHope(op): 12:42pm On Nov 20, 2022 |
Good day I am new to data analysis and python I want to replace all NaN value in titanic dataset, specifically the age column. I created a function:
def impute_age(cols): age = cols[0] pclass == cols[1]
if pd.isnull(age): if pclass == 1 return 37
elif pclass == 2: return 29
else: return 24
else: return age.
The output goes: Syntax Error: invalid syntax. it indicated the last else was the issue. The video I am following the tutor did exactly this and had no error. I would appreciate your input. |
Crime › Re: A Man Attacks A Black Woman In France And Gets Instant Karma by DasaintHope(m): 6:46pm On Nov 04, 2022 |
Jovialjune1: Why should I? Is the strength of a man and woman the same? I'm sorry, i tought what a man can do a woman can do better? I mean both genders are equal right? |
Crime › Re: A Man Attacks A Black Woman In France And Gets Instant Karma by DasaintHope(m): 3:46pm On Nov 04, 2022 |
Jovialjune1: Your attempt at sarcasm in this case is dumb. I bet you won't say this if reverse was the case. Keep wailing. |
Education › Re: Court Frees 16 Ogun Students In Detention After PUNCH Report by DasaintHope(m): 3:43pm On Nov 04, 2022 |
KennethEnyi: You’re father is a devil! Shut the fuckup. That was discipline, it helped shaped the gentleman I am today. Left unchecked I could have turned out a menance to the society. I owe everything in my life to my Dad and the Military. |
Education › Re: Court Frees 16 Ogun Students In Detention After PUNCH Report by DasaintHope(m): 1:25pm On Nov 04, 2022 |
Look at the generation of parents we have. Clueless things. I remember my Dad in his hey days will have secured my release from police only to hand me over to military police in the barracks to drill the shit out of me. I still have scars to show for my childhood exuberance, almost cost me my Job back then. |
Politics › Re: Zoom Meeting With Peter Obi: See Moment Obidients Prayed & Sang National Anthem by DasaintHope(m): 12:06pm On Nov 04, 2022 |
Agbado urchins must be in sifia pains. Me and mine shall vite for H.E Obi. Urchins can munch agbado and wallow in their principal's defeat.
|
Politics › Re: Babatunde Gbadamosi Asks Obidients To Defend Themselves by DasaintHope(m): 6:25am On Oct 27, 2022 |
[quote author= post=117907370]Just like this murderer and animal below. Bunch of lowlices swines and cannibalistic animals....[/quote]I used to think you have sense, but then what do you expect from a tiv man. |
Politics › Re: 2023: Ortom, Benue Elders Withdraw Support For Atiku by DasaintHope(m): 10:17pm On Oct 25, 2022 |
Agbado miscreants are next on the agenda.
|
Politics › Re: See What Happened To A Young Guy That Wore Apc Campaign Tshirt Today. by DasaintHope(m): 10:15pm On Oct 25, 2022 |
@op even agbado miscreants know that ApC and their candidate are failure. They are just after their stomach or addicted to suffering.
Like op suggested, I am from North central Nigeria and I am obidient, let Thiefnûbu urchins take that to the bank.
|
Crime › Re: Terrorists Kill 2 Christian Farmers, Cut Off Woman's Breast In Nasarawa by DasaintHope(m): 10:10pm On Oct 25, 2022 |
Events like this male me remember late Obadiah Mailafiya God rest his soul.
Christians need to wake up, as someone with a vested stake in The security infrastructure in this country I know what I'm saying. |
Foreign Affairs › Re: Heritage Foundation Says US Military Is WEAK And Unable To Win War (Pics) by DasaintHope(m): 11:43am On Oct 24, 2022*. Modified: 4:19pm On Oct 24, 2022 |
America is fast fading out as a super power, soon it will loose it hold over European Nations and will be revealed for what it truly is. A nation of sexual deviants, junkies and liberal/leftist shitty ideologies. Righteousness2: There is really no Suprise here. What is happening on the world stage right before our eyes is no political. It is Biblical.
The bible explicitly implied that until the whole world hears the Gospel Christ will not come, last I check Yemen, Pakistan, Afghanistan, and Saudi Arabia all fall under this category Mr man. Meanwhile ignore this yahoo pastor, if a goat gives birth to triplet he will still equate it with end times. |
Politics › Re: BVAS: INEC REC Shows How It Stops Election Rigging(video) by DasaintHope(m): 4:09pm On Oct 23, 2022 |
Urchins will be in pains, their hope of rigging has kissed the dust.
|
Politics › Re: Kano People Refused To Welcome Tinubu After Collecting Our Money - APC Chieftain by DasaintHope(m): 4:00pm On Oct 23, 2022 |
lhordspy: Emma ik ummeh You have time to consult with your stup!dity and come up with a defence for your principal. Truly, I do not envy you urchins, imagine trying to defend failure. Kagd10: If you collect Tinubu's money yet continue to hate him, God's wrath will be on your backstabbing self and your children because Tinubu didn't rule you or your Papa. Secondly, it was the Northern who presented Buhari for themselves, including Atiku. Tinubu only supported them.
Lagos APC is working for instance.
Now, it's the southern turn. Tears everywhere. Your tears are delicious. 
|
Politics › Re: Yakubu Gowon Celebrates His 88th Birthday Today by DasaintHope(m): 5:10pm On Oct 19, 2022 |
goslowgoslow: One mu....mu don show this early morning. E sure me die say you no fit look my eye follow me talk in reality. Nairaland urchin. |
Politics › Re: Yakubu Gowon Celebrates His 88th Birthday Today by DasaintHope(m): 8:34am On Oct 19, 2022 |
Why does he look younger than agbado maester
|
Politics › Re: Big Debate: Alh. Tanko Yunusa Floors Reno Omokri On Channels Television by DasaintHope(m): 12:25pm On Oct 05, 2022 |
GeneralOjukwu: Name of Labour Party Chairman.... unknown...
Any bigwig in LP.... blank.
Anyone supporting Peter Obi needs a brain transplant.
SS - Peter Obi will win all States? Atiku dey sleep abi?
SW - Peter Obi will win 50% ? Or even 1 state?
North - which LGA will Obi get 1000 Hausa/Fulani to vote?
So how is it possible to a sane human being? Since you've been supporting the big wig parties how has your life been better.? Tell us Sir. Do you buy petrol cheaper? Or Mayhaps you or your family/friends aren't affected by ASUU? I know you have to earn your 30k stipend, but abeg be innovative about it.
|
Politics › Re: Tinubu Didn't Plug Gym Bike To Electric Socket While Demonstrating Fitness (Pix) by DasaintHope(m): 8:16am On Oct 03, 2022 |
Mynd44: Ergometer or exercise bicycles do not need electricity. Even this MOD is standing on Tinubu's Mandate Manhood.
|
Romance › Re: My Fiancee And My Friend What Is Going On?? by DasaintHope(m): 6:50am On Oct 03, 2022 |
You're dating a 33+ with penile mileages and emotional baggages. How many times will we tell you to avoid 33+? SIMPle man |
Politics › Re: Seun Has Banned The Use Of Thïefnubu But Allows Obidient by DasaintHope(m): 8:41pm On Oct 02, 2022 |
ThieFNúbu |
Education › Re: Should My Daughter Still Go To Airforce School by DasaintHope(m): 8:39pm On Oct 02, 2022 |
|