One can select both object and string dtypes, so you select those columns in both older and newer pandas. One gotcha is that df.select_dtypes(include=[str]) is not allowed in pandas<=2.3 ("string ...
某些結果已隱藏,因為您可能無法存取這些結果。
顯示無法存取的結果某些結果已隱藏,因為您可能無法存取這些結果。
顯示無法存取的結果