在dataframe中如何根据其中一列df['select]中的bool值,只筛选出值为True的行,把false的行删除,删除后为的行自动往上填充缩进?
dataframe[dataframe["select"]]