I have a pandas dataframe called Data filled with dates. An example date might look like: "2015-05-10 23:45:00". I want to look at the data in January only, so I want:
Data= Data[:][5:7]=="01"
This doesn't work though.
TDLR, wondering how to find get subset of a dataframe based on a substring.
Thanks!