警告提示:
DeprecationWarning: The default dtype for empty Series will be ‘object’ instead of ‘float64’ in a future version warning
解决方法:
将 pd.Series([])改为pd.Series([], dtype=pd.StringDtype())
2023-10-15 08:07:58
警告提示:
DeprecationWarning: The default dtype for empty Series will be ‘object’ instead of ‘float64’ in a future version warning
解决方法:
将 pd.Series([])改为pd.Series([], dtype=pd.StringDtype())