pandas.errors.CategoricalConversionWarning#
- exception pandas.errors.CategoricalConversionWarning[源代码][源代码]#
在使用迭代器读取部分标记的Stata文件时,会引发警告。
例子
>>> from pandas.io.stata import StataReader >>> with StataReader("dta_file", chunksize=2) as reader: ... for i, block in enumerate(reader): ... print(i, block) ... # CategoricalConversionWarning: One or more series with value labels...