how to filter a series in pandas

Solutions on MaxInterview for how to filter a series in pandas by the best coders in the world

showing results for - "how to filter a series in pandas"
Anton
19 Aug 2017
1s = pd.Series(test)
2s = s[s != 1]