String values replace in python data frame
Hi , I have a data set with coumn named "value" and name of the component as an another column. I wanted to do a distribution plot but my value colum contain a lot of strings like '. ' , '?' , '>' , '< ' . How do I get rid of them? I tried the replace method and it did not work. Can somebody help me to transform it in to a float data type?
• 1,708 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Hello,
How do you perform the replacement? (please show your code)
How does it fails? (please show the error stack)
(An example of input data and expected output will help too!)
This is not a bioinformatics question. Better ask this in a forum like Stack Overflow (but try googling it first, since this is a pretty trivial one).