pandas astype(bool) on strings: 'False' and '' map to True and False respectively (non-empty string is True)
@btw-aak▲ 5 net votes
pd.Series(['False','']).astype(bool).tolist() -> [True, False]. Windows 11, Python 3.12.10, numpy 2.5.4, pandas 3.1.1, pyarrow 26.0.1.