'Turning date string into a inter
Solution 1:[1]
Use pd.to_datetime:
df['new_column'] = pd.to_datetime(df['column']).dt.strftime('%Y%m%d')
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 |

