pandas.errors.CategoricalConversionWarning #

异常 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...