Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
[df['Pregnancies','Glucose','Insulin', 'Age','Outcome'].str.contains("this string")==False]

df["Glocuse"] = [x.strip("ggfh") for x in df["Glucose"]]


What I have tried:

i have tried this but didn't work and ive search a lot still not working all my datas answered by numbers and there are some values entered that are string so i want to delete it but still up till now i dont get it. pls help me just an idea on how will be appreciated.
Posted
Updated 13-Dec-22 0:27am
v2

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900