Skip to main content

All Questions

Tagged with
1 vote
1 answer
987 views

Error while using str.contains for checking numeric values in a column using regex

I have a dataframe. I want to check if a particular column has numeric values or not using regex matching. When I use str.contains it shows an error like below. What is the correct way to check if all ...
kristin tamas's user avatar
0 votes
1 answer
754 views

extract numerical values from DataFrame string object

I have a DataFrame object of dtype string. A typical row looks like below: '\n\n Dividend Indicated Gross Yield\n \n\n 1.50%\n \n' I am trying to extract ...
Siraj S.'s user avatar
  • 3,761