'is there anyway to extract numerical values (or equivalently eliminate the text) of CSV so that the numerical values can be used as a regular feature
how to clean all numerical features and the target variable price so that they can be used in training algorithms. For instance, host_response_rate feature is in object format containing both numerical values and text.
Solution 1:[1]
You should elaborate, But from what i understand you want to convert Object to integer
You could try:
df['column'].astype(str).astype(int)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | DontDownvote |
