Skip to content

Enable --check-untyped-defs for MyPy #27568

Closed
@WillAyd

Description

@WillAyd

As brought up in a conversation with @simonjayhawkins we might want to consider adding --check-untyped-defs to the mypy config file. Right now unannotated functions are skipped so local variable inference and checking is not done until an annotation is added. Working through this flag in advance may lead to less surprises as annotations are added

Note that this can also be enabled globally and per module, so we could prioritize as needed. Docs here:

https://mypy.readthedocs.io/en/latest/config_file.html#untyped-definitions-and-calls

Here are failures currently on master. I haven't looked in detail but assume that the degree of difficulty to resolve will vary. PRs to tackle individual modules may be best

pandas/core/ops/docstrings.py:26: error: Unsupported operand types for + ("str" and "None")
pandas/core/ops/docstrings.py:26: note: Right operand is of type "Optional[str]"
pandas/core/ops/docstrings.py:39: error: Unsupported operand types for + ("str" and "None")
pandas/core/ops/docstrings.py:39: note: Right operand is of type "Optional[str]"
pandas/core/dtypes/generic.py:7: error: 'classmethod' used with a non-method
pandas/util/_exceptions.py:14: error: Incompatible types in assignment (expression has type "Tuple[Any, ...]", variable has type "Tuple[Any]")
pandas/util/_decorators.py:181: error: Item "function" of "Union[Dict[Any, Any], Callable[[Any], Any]]" has no attribute "get"
pandas/util/_decorators.py:183: error: "Dict[Any, Any]" not callable
pandas/util/_decorators.py:201: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[str]"; expected "str"
pandas/util/_decorators.py:207: error: Invalid index type "Optional[str]" for "Dict[str, Any]"; expected type "str"
pandas/util/_decorators.py:293: error: Item "Tuple[Any, ...]" of "Union[Tuple[Any, ...], Dict[str, Any]]" has no attribute "update"
pandas/_version.py:37: error: "VersioneerConfig" has no attribute "VCS"
pandas/_version.py:38: error: "VersioneerConfig" has no attribute "style"
pandas/_version.py:39: error: "VersioneerConfig" has no attribute "tag_prefix"
pandas/_version.py:40: error: "VersioneerConfig" has no attribute "parentdir_prefix"
pandas/_version.py:41: error: "VersioneerConfig" has no attribute "versionfile_source"
pandas/_version.py:42: error: "VersioneerConfig" has no attribute "verbose"
pandas/_version.py:79: error: Item "BaseException" of "Optional[BaseException]" has no attribute "errno"
pandas/_version.py:79: error: Item "None" of "Optional[BaseException]" has no attribute "errno"
pandas/io/formats/css.py:92: error: Incompatible types in assignment (expression has type "None", variable has type "float")
pandas/io/formats/css.py:163: error: Item "None" of "Optional[Match[Any]]" has no attribute "groups"
pandas/io/clipboard/exceptions.py:10: error: Module has no attribute "WinError"
pandas/_config/config.py:458: error: Module has no attribute "Name"
pandas/_config/config.py:469: error: Incompatible types in assignment (expression has type "Dict[<nothing>, <nothing>]", target has type "str")
pandas/_config/config.py:470: error: Incompatible types in assignment (expression has type "str", variable has type "Dict[str, str]")
pandas/_config/config.py:557: error: Incompatible types in assignment (expression has type "str", variable has type "Dict[str, str]")
pandas/_config/config.py:682: error: Need type annotation for 'ls'
pandas/util/_print_versions.py:104: error: Incompatible types in assignment (expression has type "None", variable has type "str")
pandas/util/_print_versions.py:111: error: Name 'json' already defined (by an import)
pandas/io/clipboard/windows.py:41: error: Module has no attribute "windll"
pandas/io/clipboard/clipboards.py:31: error: Name 'QApplication' already defined (possibly by an import)
pandas/io/clipboard/clipboards.py:33: error: Name 'QApplication' already defined (possibly by an import)
pandas/_config/localization.py:104: error: Too few arguments for "CalledProcessError"
pandas/_config/localization.py:104: error: Argument 1 to "CalledProcessError" has incompatible type "str"; expected "int"
pandas/core/computation/expressions.py:81: error: Need type annotation for 'dtypes'
pandas/core/computation/expressions.py:220: error: "None" not callable
pandas/core/computation/expressions.py:237: error: "None" not callable
pandas/core/computation/expressions.py:249: error: Need type annotation for '_TEST_RESULT'
pandas/io/formats/printing.py:64: error: "str" has no attribute "decode"; maybe "encode"?
pandas/io/formats/printing.py:197: error: "str" has no attribute "decode"; maybe "encode"?
pandas/io/formats/printing.py:516: error: Argument 1 to "append" of "list" has incompatible type "Tuple[str, int]"; expected "Tuple[str, str]"
pandas/io/formats/console.py:68: error: Name '__IPYTHON__' is not defined
pandas/io/formats/console.py:78: error: Name 'get_ipython' is not defined
pandas/core/config_init.py:311: error: Name 'get_ipython' is not defined
pandas/core/dtypes/common.py:355: error: "None" not callable
pandas/io/common.py:334: error: Incompatible types in assignment (expression has type "Tuple[Type[BytesIO]]", variable has type "Tuple[Type[BytesIO], Any]")
pandas/io/excel/_util.py:109: error: Need type annotation for 'cols'
pandas/core/apply.py:38: error: Incompatible types in assignment (expression has type "Type[FrameColumnApply]", variable has type "Type[FrameRowApply]")
pandas/io/sas/sasreader.py:75: error: Incompatible types in assignment (expression has type "SAS7BDATReader", variable has type "XportReader")
pandas/io/formats/csvs.py:232: error: Need type annotation for 'encoded_labels'
pandas/core/dtypes/cast.py:1203: error: Incompatible types in assignment (expression has type "Categorical", variable has type "DatetimeIndex")
pandas/core/dtypes/cast.py:1219: error: "DatetimeIndex" has no attribute "fill"
pandas/core/nanops.py:556: error: Item "bool" of "Union[bool, Any]" has no attribute "any"
pandas/core/missing.py:239: error: Incompatible types in assignment (expression has type "List[Union[int, Any]]", variable has type "Set[Union[int, Any]]")
pandas/core/missing.py:610: error: Need type annotation for 'f_idx'
pandas/core/missing.py:611: error: Need type annotation for 'b_idx'
pandas/core/missing.py:635: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Set[Any]")
pandas/core/algorithms.py:1506: error: Name 'func' already defined on line 1485
pandas/core/algorithms.py:1708: error: Incompatible types in assignment (expression has type "Tuple[Any, ...]", variable has type "List[Any]")
pandas/core/algorithms.py:1954: error: Incompatible types in assignment (expression has type "Tuple[slice, ...]", variable has type "List[slice]")
pandas/core/algorithms.py:1958: error: Incompatible types in assignment (expression has type "Tuple[slice, ...]", variable has type "List[slice]")
pandas/plotting/_matplotlib/misc.py:133: error: Need type annotation for 'to_plot'
pandas/plotting/_matplotlib/misc.py:234: error: Need type annotation for 'used_legends'
pandas/plotting/_matplotlib/misc.py:334: error: Need type annotation for 'used_legends'
pandas/core/tools/datetimes.py:328: error: Item "DatetimeIndex" of "Union[DatetimeArray, DatetimeIndex]" has no attribute "tz_convert"
pandas/core/tools/datetimes.py:1055: error: Argument 1 to "append" of "list" has incompatible type "None"; expected "time"
pandas/core/tools/datetimes.py:1082: error: Argument 1 to "append" of "list" has incompatible type "None"; expected "time"
pandas/core/internals/concat.py:47: error: Incompatible types in assignment (expression has type "Tuple[Any, ...]", variable has type "List[Any]")
pandas/core/internals/concat.py:74: error: Incompatible types in assignment (expression has type "Tuple[Any, ...]", variable has type "List[Any]")
pandas/core/internals/concat.py:303: error: Need type annotation for 'upcast_classes'
pandas/core/internals/concat.py:304: error: Need type annotation for 'null_upcast_classes'
pandas/tseries/offsets.py:518: error: Incompatible types in assignment (expression has type "None", variable has type "List[str]")
pandas/tseries/frequencies.py:168: error: Unsupported operand types for * ("object" and "int")
pandas/tseries/frequencies.py:274: error: Incompatible types in assignment (expression has type "_FrequencyInferer", variable has type "_TimedeltaFrequencyInferer")
pandas/plotting/_matplotlib/core.py:161: error: Need type annotation for 'legend_handles'
pandas/plotting/_matplotlib/core.py:162: error: Need type annotation for 'legend_labels'
pandas/plotting/_matplotlib/core.py:554: error: Need type annotation for 'handles'
pandas/plotting/_matplotlib/core.py:555: error: Need type annotation for 'labels'
pandas/plotting/_matplotlib/core.py:651: error: Incompatible types in assignment (expression has type "Tuple[Any, Any]", variable has type "Tuple[Any, Any, Any]")
pandas/plotting/_matplotlib/core.py:1486: error: Incompatible types in assignment (expression has type "None", variable has type "List[Any]")
pandas/core/computation/align.py:24: error: Unsupported operand types for + ("Tuple[partial[Any]]" and "Tuple[None]")
pandas/core/computation/align.py:24: error: Incompatible types in assignment (expression has type "Tuple[partial[Any], ...]", variable has type "Tuple[partial[Any]]")
pandas/core/computation/align.py:26: error: Incompatible types in assignment (expression has type "Tuple[partial[Any], ...]", variable has type "Tuple[partial[Any]]")
pandas/core/computation/align.py:37: error: Module has no attribute "generic"
pandas/core/computation/align.py:120: error: Module has no attribute "generic"
pandas/core/computation/align.py:160: error: Module has no attribute "generic"
pandas/core/strings.py:1059: error: Need type annotation for 'tags'
pandas/core/strings.py:1062: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Set[Any]")
pandas/core/base.py:386: error: Need type annotation for 'new_arg'
pandas/core/base.py:455: error: Need type annotation for 'result'
pandas/core/base.py:462: error: Need type annotation for 'result'
pandas/core/base.py:470: error: Incompatible types in assignment (expression has type "OrderedDict[<nothing>, <nothing>]", variable has type "List[Any]")
pandas/core/base.py:472: error: "List[Any]" has no attribute "update"
pandas/core/base.py:473: error: "List[Any]" has no attribute "keys"
pandas/core/base.py:478: error: Incompatible types in assignment (expression has type "None", variable has type "List[Any]")
pandas/core/base.py:518: error: "List[Any]" has no attribute "values"
pandas/core/base.py:522: error: "List[Any]" has no attribute "values"
pandas/core/base.py:567: error: Incompatible types in assignment (expression has type "None", variable has type "List[Any]")
pandas/core/indexes/frozen.py:76: error: "__getslice__" undefined in superclass
pandas/core/indexes/base.py:335: error: Incompatible types in assignment (expression has type "TimedeltaIndex", variable has type "DatetimeIndex")
pandas/core/indexes/base.py:338: error: Incompatible types in assignment (expression has type "TimedeltaIndex", variable has type "DatetimeIndex")
pandas/core/indexes/base.py:346: error: Incompatible types in assignment (expression has type "PeriodIndex", variable has type "DatetimeIndex")
pandas/core/indexes/base.py:422: error: Name 'PeriodIndex' already defined on line 70
pandas/core/indexes/base.py:422: error: Module 'pandas.core.indexes.period' has no attribute 'IncompatibleFrequency'
pandas/core/indexes/base.py:433: error: Name 'Float64Index' already defined on line 349
pandas/core/indexes/base.py:456: error: Name 'Float64Index' already defined on line 349
pandas/core/indexes/base.py:460: error: Name 'IntervalIndex' already defined on line 170
pandas/core/indexes/base.py:472: error: Name 'DatetimeIndex' already defined on line 88
pandas/core/indexes/base.py:483: error: Name 'TimedeltaIndex' already defined on line 52
pandas/core/indexes/base.py:809: error: "DatetimeIndex" has no attribute "tz_localize"
pandas/core/indexes/base.py:816: error: Name 'DatetimeIndex' already defined on line 88
pandas/core/indexes/base.py:1100: error: "List[Any]" has no attribute "tolist"
pandas/core/indexes/base.py:1650: error: Unexpected keyword argument "levels" for "MultiIndex"
pandas/core/indexes/base.py:5698: error: Name 'copy' already defined on line 5638
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:1650: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:1650: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:1650: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3623: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3623: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3623: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3623: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3788: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3788: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3788: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3788: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:335: error: Incompatible types in assignment (expression has type "TimedeltaIndex", variable has type "DatetimeIndex")
pandas/core/indexes/base.py:338: error: Incompatible types in assignment (expression has type "TimedeltaIndex", variable has type "DatetimeIndex")
pandas/core/indexes/base.py:346: error: Incompatible types in assignment (expression has type "PeriodIndex", variable has type "DatetimeIndex")
pandas/core/arrays/sparse.py:290: error: Incompatible types in assignment (expression has type "Union[str, bool]", variable has type "bool")
pandas/core/arrays/sparse.py:1151: error: Need type annotation for 'result'
pandas/core/arrays/interval.py:446: error: Need type annotation for 'left'
pandas/core/arrays/interval.py:446: error: Need type annotation for 'right'
pandas/core/arrays/categorical.py:697: error: Incompatible types in assignment (expression has type "None", variable has type "str")
pandas/core/arrays/categorical.py:1136: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Set[Any]")
pandas/core/arrays/categorical.py:1645: error: "argsort" gets multiple values for keyword argument "ascending"
pandas/core/arrays/categorical.py:1645: error: "argsort" gets multiple values for keyword argument "kind"
pandas/core/arrays/categorical.py:2254: error: Incompatible types in assignment (expression has type "Dict[Any, Any]", variable has type "Generator[Any, None, None]")
pandas/core/internals/blocks.py:1652: error: Too many arguments for "__init__" of "object"
pandas/core/internals/blocks.py:1652: error: Unexpected keyword argument "ndim" for "__init__" of "object"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "__init__" of "object" defined here
pandas/core/internals/blocks.py:2856: error: Need type annotation for 'result_blocks'
pandas/core/internals/blocks.py:3195: error: Incompatible types in assignment (expression has type "Type[DatetimeBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/internals/blocks.py:3203: error: Incompatible types in assignment (expression has type "Type[FloatBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/internals/blocks.py:3206: error: Incompatible types in assignment (expression has type "Type[TimeDeltaBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/internals/blocks.py:3208: error: Incompatible types in assignment (expression has type "Type[ComplexBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/internals/blocks.py:3210: error: Incompatible types in assignment (expression has type "Type[IntBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/internals/blocks.py:3212: error: Incompatible types in assignment (expression has type "Type[BoolBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/internals/blocks.py:3214: error: Incompatible types in assignment (expression has type "Type[ObjectBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/indexes/multi.py:424: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:424: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:424: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:424: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:424: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:478: error: Need type annotation for 'arrays'
pandas/core/indexes/multi.py:540: error: Too many arguments for "MultiIndex"
pandas/core/indexes/multi.py:540: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:540: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:676: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "FrozenList")
pandas/core/indexes/multi.py:796: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "FrozenList")
pandas/core/indexes/multi.py:952: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:952: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:952: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:952: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:952: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:952: error: Unexpected keyword argument "_set_identity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:975: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:975: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:975: error: Too many arguments for "MultiIndex"
pandas/core/indexes/multi.py:1092: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1092: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1092: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1092: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1092: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1724: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1724: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1724: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1846: error: Too many arguments for "MultiIndex"
pandas/core/indexes/multi.py:1846: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1846: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1846: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1979: error: Item "None" of "Optional[Any]" has no attribute "__iter__" (not iterable)
pandas/core/indexes/multi.py:2012: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2012: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2012: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2012: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2012: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2031: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2031: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2031: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2031: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2101: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2101: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2101: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2101: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2101: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2155: error: Argument 1 to "range" has incompatible type "Optional[int]"; expected "int"
pandas/core/indexes/multi.py:2155: error: Argument 2 to "range" has incompatible type "Optional[int]"; expected "int"
pandas/core/indexes/multi.py:2240: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2240: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2240: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2240: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2265: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2265: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2265: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2265: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2363: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2363: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2363: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2363: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2363: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3102: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3102: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3102: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3250: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Set[Any]")
pandas/core/indexes/multi.py:3253: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3253: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3253: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3253: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3293: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3293: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3293: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3293: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3311: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3311: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3311: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3311: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3340: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3340: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3340: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3391: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3391: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3391: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3391: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3404: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3404: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3404: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3404: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/datetimelike.py:202: error: 'staticmethod' used with a non-method
pandas/core/indexes/datetimelike.py:475: error: "_format_attrs" undefined in superclass
pandas/core/indexes/datetimelike.py:509: error: "_convert_scalar_indexer" undefined in superclass
pandas/core/indexes/category.py:599: error: Need type annotation for 'missing'
pandas/core/computation/scope.py:140: error: Cannot determine type of 'resolvers'
pandas/core/computation/scope.py:142: error: Need type annotation for 'temps'
pandas/core/computation/scope.py:201: error: Module has no attribute "ops"
pandas/core/indexes/datetimes.py:523: error: "None" has no attribute "_dtype"
pandas/core/indexes/datetimes.py:557: error: "None" has no attribute "_dtype"
pandas/core/indexes/datetimes.py:814: error: "DatetimeIndex" has no attribute "tz_convert"
pandas/core/indexes/datetimes.py:1167: error: "bool" has no attribute "nonzero"
pandas/core/computation/ops.py:434: error: Incompatible types in assignment (expression has type "Callable[[Any, Any, Any, Any, Any, Any], Any]", variable has type "partial[Any]")
pandas/core/computation/ops.py:489: error: Too many arguments for "__init__"
pandas/core/indexes/interval.py:532: error: Need type annotation for 'seen_pairs'
pandas/core/computation/expr.py:319: error: Unsupported operand types for + ("Tuple[]" and "Tuple[str]")
pandas/core/computation/expr.py:319: error: Unsupported operand types for + ("Tuple[<nothing>, ...]" and "Tuple[str]")
pandas/core/computation/expr.py:701: error: "expr" has no attribute "id"
pandas/core/computation/expr.py:715: error: Too many arguments for "__call__"
pandas/core/computation/expr.py:725: error: "expr" has no attribute "id"
pandas/core/computation/engines.py:123: error: "KeyError" has no attribute "message"
pandas/core/computation/engines.py:126: error: Too few arguments for "UndefinedVariableError"
pandas/core/indexes/api.py:101: error: Need type annotation for 'ids'
pandas/core/computation/pytables.py:172: error: Incompatible types in assignment (expression has type "Callable[[Any, Any, Any, Any, Any, Any], Any]", variable has type "partial[Any]")
pandas/core/computation/pytables.py:536: error: Unsupported target for indexed assignment
pandas/core/computation/eval.py:326: error: Cannot instantiate abstract class 'AbstractEngine' with abstract attribute '_evaluate'
pandas/plotting/_matplotlib/converter.py:1049: error: Need type annotation for 'locs'
pandas/io/formats/format.py:1165: error: Cannot call function of unknown type
pandas/io/formats/format.py:1234: error: "str" not callable
pandas/io/formats/format.py:1234: error: Unexpected keyword argument "value" for "__call__" of "EngFormatter"
pandas/io/formats/format.py:1234: error: "None" not callable
pandas/io/formats/format.py:1677: error: Item "None" of "Optional[TextAdjustment]" has no attribute "len"
pandas/io/formats/format.py:1769: note: "__call__" of "EngFormatter" defined here
pandas/core/indexing.py:1746: error: List item 0 has incompatible type "slice"; expected "str"
pandas/core/indexing.py:1754: error: No overload variant of "slice" matches argument types "str", "str", "None"
pandas/core/indexing.py:1754: note: Possible overload variant:
pandas/core/indexing.py:1754: note:     def __init__(self, start: Optional[int], stop: Optional[int], step: Optional[int] = ...) -> slice
pandas/core/indexing.py:1754: note:     <1 more non-matching overload not shown>
pandas/core/indexing.py:1754: note:     def __init__(self, start: Optional[int], stop: Optional[int], step: Optional[int] = ...) -> slice
pandas/core/internals/managers.py:243: error: Need type annotation for 'counts'
pandas/core/internals/managers.py:549: error: Argument 1 to "SingleBlockManager" has incompatible type "List[Any]"; expected "Block"
pandas/core/internals/managers.py:622: error: Need type annotation for 'new_rb'
pandas/core/internals/managers.py:747: error: Incompatible types in assignment (expression has type "Tuple[slice, ...]", variable has type "List[slice]")
pandas/core/internals/managers.py:835: error: Item "ExtensionDtype" of "Union[Any, ExtensionDtype, None]" has no attribute "subtype"
pandas/core/internals/managers.py:835: error: Item "None" of "Union[Any, ExtensionDtype, None]" has no attribute "subtype"
pandas/core/internals/managers.py:871: error: Need type annotation for 'bd'
pandas/core/internals/managers.py:914: error: Item "None" of "Union[Any, ExtensionDtype, None]" has no attribute "construct_array_type"
pandas/core/internals/managers.py:982: error: Argument 1 to "SingleBlockManager" has incompatible type "List[Any]"; expected "Block"
pandas/core/internals/managers.py:1121: error: Need type annotation for 'new_blocks'
pandas/core/internals/managers.py:1441: error: Need type annotation for 'new_blocks'
pandas/core/internals/managers.py:1442: error: Need type annotation for 'columns_mask'
pandas/core/internals/managers.py:1727: error: Need type annotation for 'items_dict'
pandas/core/internals/managers.py:1748: error: Need type annotation for 'blocks'
pandas/core/internals/managers.py:1908: error: Need type annotation for 'new_blocks'
pandas/plotting/_matplotlib/timeseries.py:163: error: "type" has no attribute "_plot"
pandas/core/generic.py:470: error: Need type annotation for 'd'
pandas/core/generic.py:2068: error: Need type annotation for '_item_cache'
pandas/core/generic.py:3713: error: Incompatible types in assignment (expression has type "Tuple[slice, ...]", variable has type "List[slice]")
pandas/core/generic.py:5860: error: "append" of "list" does not return a value
pandas/core/generic.py:5865: error: Incompatible types in assignment (expression has type "Generator[Any, None, None]", variable has type "List[Any]")
pandas/core/generic.py:6648: error: 'builtins.object' object is not iterable
pandas/core/generic.py:7225: error: Name 'Series' already defined on line 141
pandas/core/generic.py:10253: error: Need type annotation for 'names'
pandas/core/internals/construction.py:184: error: "_get_axes" gets multiple values for keyword argument "index"
pandas/core/internals/construction.py:184: error: "_get_axes" gets multiple values for keyword argument "columns"
pandas/core/internals/construction.py:248: error: Incompatible types in assignment (expression has type "Generator[Union[List[Any], Any], None, None]", variable has type "Series")
pandas/core/internals/construction.py:251: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Series")
pandas/core/internals/construction.py:254: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Series")
pandas/core/internals/construction.py:336: error: Need type annotation for 'raw_lengths'
pandas/core/internals/construction.py:376: error: Argument 1 to "len" has incompatible type "Optional[Index]"; expected "Sized"
pandas/core/internals/construction.py:379: error: Argument 1 to "len" has incompatible type "Optional[Index]"; expected "Sized"
pandas/core/internals/construction.py:414: error: No overload variant of "__setitem__" of "list" matches argument types "int", "str"
pandas/core/internals/construction.py:414: note: Possible overload variants:
pandas/core/internals/construction.py:414: note:     def __setitem__(self, int, int) -> None
pandas/core/internals/construction.py:414: note:     def __setitem__(self, slice, Iterable[int]) -> None
pandas/core/internals/construction.py:511: error: Need type annotation for 'indexer_cache'
pandas/core/internals/construction.py:562: error: Argument 2 to "isinstance" has incompatible type "object"; expected "Union[type, Tuple[Union[type, Tuple[Any, ...]], ...]]"
pandas/core/series.py:2736: error: Unsupported operand types for + ("List[Any]" and "Tuple[Any, ...]")
pandas/core/series.py:2736: note: Right operand is of type "Union[List[Any], Tuple[Any, ...]]"
pandas/core/series.py:4298: error: Too many arguments for "fillna"
pandas/core/frame.py:966: error: namedtuple() expects a string literal as the first argument
pandas/core/frame.py:2097: error: Name 'statawriter' already defined on line 2062
pandas/core/frame.py:2495: error: Item "None" of "Optional[Any]" has no attribute "iloc"
pandas/core/frame.py:2757: error: Module has no attribute "_unpickle_array"
pandas/core/frame.py:2759: error: Module has no attribute "_unpickle_array"
pandas/core/frame.py:2766: error: Module has no attribute "_unpickle_array"
pandas/core/frame.py:2767: error: Module has no attribute "_unpickle_array"
pandas/core/frame.py:2772: error: Module has no attribute "_unpickle_array"
pandas/core/frame.py:3610: error: Need type annotation for 'results'
pandas/core/frame.py:4190: error: Too many arguments for "fillna"
pandas/core/frame.py:4327: error: Need type annotation for 'missing'
pandas/core/frame.py:4357: error: Need type annotation for 'names'
pandas/core/frame.py:4366: error: Need type annotation for 'to_remove'
pandas/core/frame.py:4600: error: Too many arguments for "DatetimeLikeArrayMixin"
pandas/core/frame.py:4600: error: Unexpected keyword argument "dtype" for "DatetimeLikeArrayMixin"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "DatetimeLikeArrayMixin" defined here
pandas/core/frame.py:4622: error: Incompatible types in assignment (expression has type "Tuple[Tuple[Any, None]]", variable has type "Iterator[Tuple[Any, Any]]")
pandas/core/frame.py:4622: note: 'tuple' is missing following 'Iterator' protocol member:
pandas/core/frame.py:4622: note:     __next__
pandas/core/frame.py:7060: error: Unsupported operand types for + ("List[Any]" and "Tuple[Any, ...]")
pandas/core/frame.py:7060: note: Right operand is of type "Union[List[Any], Tuple[Any, ...]]"
pandas/core/frame.py:8429: error: Need type annotation for 'new_data'
pandas/io/parsers.py:929: error: Incompatible types in assignment (expression has type "object", variable has type "Union[bytes, int, str, None]")
pandas/io/parsers.py:1366: error: Need type annotation for 'unnamed_cols'
pandas/io/parsers.py:1430: error: Need type annotation for 'handles'
pandas/io/parsers.py:1529: error: Need type annotation for 'counts'
pandas/io/parsers.py:1576: error: Item "None" of "Optional[Any]" has no attribute "set_names"
pandas/io/parsers.py:2003: error: Incompatible types in assignment (expression has type "None", variable has type "List[Any]")
pandas/io/parsers.py:2223: error: Need type annotation for 'buf'
pandas/io/parsers.py:2269: error: Need type annotation for '_comment_lines'
pandas/io/parsers.py:2559: error: Need type annotation for 'unnamed_cols'
pandas/io/parsers.py:2573: error: Need type annotation for 'columns'
pandas/io/parsers.py:2620: error: Need type annotation for 'counts'
pandas/io/parsers.py:2644: error: List item 0 has incompatible type "None"; expected "str"
pandas/io/parsers.py:2647: error: Argument 1 to "append" of "list" has incompatible type "List[str]"; expected "List[None]"
pandas/io/parsers.py:2694: error: List comprehension has incompatible type List[str]; expected List[None]
pandas/io/parsers.py:2699: error: Argument 1 to "list" has incompatible type "range"; expected "Iterable[None]"
pandas/io/parsers.py:2699: note: Following member(s) of "range" have conflicts:
pandas/io/parsers.py:2699: note:     Expected:
pandas/io/parsers.py:2699: note:         def __iter__(self) -> Iterator[None]
pandas/io/parsers.py:2699: note:     Got:
pandas/io/parsers.py:2699: note:         def __iter__(self) -> Iterator[int]
pandas/io/parsers.py:3305: error: Need type annotation for 'date_cols'
pandas/io/parsers.py:3384: error: Need type annotation for 'na_fvalues'
pandas/io/parsers.py:3401: error: Incompatible types in assignment (expression has type "Dict[Any, Any]", variable has type "Set[Any]")
pandas/io/parsers.py:3442: error: No overload variant of "__setitem__" of "list" matches argument types "int", "None"
pandas/io/parsers.py:3442: note: Possible overload variants:
pandas/io/parsers.py:3442: note:     def __setitem__(self, int, str) -> None
pandas/io/parsers.py:3442: note:     def __setitem__(self, slice, Iterable[str]) -> None
pandas/io/parsers.py:3519: error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str"
pandas/io/parsers.py:3523: error: Argument 1 to "append" of "list" has incompatible type "int"; expected "str"
pandas/core/reshape/reshape.py:293: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:293: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:293: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:293: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:307: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:307: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:307: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:307: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:344: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:344: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:344: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:344: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:384: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:384: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:384: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:384: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:431: error: Incompatible types in assignment (expression has type "_Unstacker", variable has type "partial[_Unstacker]")
pandas/core/reshape/reshape.py:439: error: "partial[_Unstacker]" has no attribute "get_result"
pandas/core/reshape/reshape.py:525: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:525: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:525: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:525: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:531: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:531: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:531: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:531: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:684: error: Unsupported operand types for - ("int" and "None")
pandas/core/reshape/reshape.py:684: error: Unsupported operand types for - ("None" and "int")
pandas/core/reshape/reshape.py:684: error: Unsupported left operand type for - ("None")
pandas/core/reshape/reshape.py:684: note: Both left and right operands are unions
pandas/core/reshape/reshape.py:733: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:733: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:733: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:733: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:898: error: Need type annotation for 'with_dummies'
pandas/core/reshape/reshape.py:1000: error: Incompatible types in assignment (expression has type "float", variable has type "int")
pandas/core/reshape/reshape.py:1004: error: Need type annotation for 'sp_indices'
pandas/core/groupby/ops.py:285: error: Incompatible types in assignment (expression has type "Index", variable has type "Iterator[Any]")
pandas/core/groupby/ops.py:285: note: 'Index' is missing following 'Iterator' protocol member:
pandas/core/groupby/ops.py:285: note:     __next__
pandas/core/groupby/ops.py:336: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/ops.py:336: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/ops.py:336: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/ops.py:336: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/ops.py:436: error: "None" not callable
pandas/core/groupby/ops.py:792: error: Need type annotation for 'indices'
pandas/core/groupby/ops.py:947: error: Incompatible types in assignment (expression has type "Type[FrameSplitter]", variable has type "Type[SeriesSplitter]")
pandas/core/groupby/groupby.py:850: error: Need type annotation for 'output'
pandas/core/groupby/groupby.py:2219: error: Need type annotation for 'output'
pandas/core/groupby/groupby.py:2474: error: Incompatible types in assignment (expression has type "Type[DataFrameGroupBy]", variable has type "Type[SeriesGroupBy]")
pandas/io/excel/_base.py:427: error: Need type annotation for 'output'
pandas/io/excel/_base.py:695: error: Need type annotation for 'sheets'
pandas/core/sparse/frame.py:94: error: Item "SparseArray" of "Union[SparseSeries, SparseArray]" has no attribute "index"
pandas/core/sparse/frame.py:98: error: Item "SparseArray" of "Union[SparseSeries, SparseArray]" has no attribute "name"
pandas/core/sparse/frame.py:308: error: Name '_unpickle_array' already defined on line 170
pandas/core/sparse/frame.py:1004: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/sparse/frame.py:1004: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/sparse/frame.py:1004: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/io/excel/_xlwt.py:52: error: Need type annotation for 'style_dict'
pandas/io/excel/_openpyxl.py:398: error: Need type annotation for '_style_cache'
pandas/io/excel/_openpyxl.py:420: error: Need type annotation for 'style_kwargs'
pandas/io/excel/_openpyxl.py:423: error: Incompatible types in assignment (expression has type "Optional[Any]", variable has type "Dict[Any, Any]")
pandas/core/groupby/generic.py:278: error: Need type annotation for 'result'
pandas/core/groupby/generic.py:303: error: Need type annotation for 'result'
pandas/core/groupby/generic.py:471: error: Name 'concat' already defined on line 31
pandas/core/groupby/generic.py:915: error: Need type annotation for 'results'
pandas/core/groupby/generic.py:993: error: Need type annotation for 'result'
pandas/core/groupby/generic.py:1105: error: Too many arguments
pandas/core/groupby/generic.py:1272: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1272: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1272: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1272: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1303: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1303: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1303: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1303: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:303: error: Need type annotation for 'result'
pandas/core/groupby/generic.py:1738: error: Need type annotation for 'aggspec'
pandas/io/sql.py:51: error: Name 'sqlalchemy' already defined (possibly by an import)
pandas/io/sql.py:786: error: "insert" of "list" does not return a value
pandas/io/sql.py:1456: error: "insert" of "list" does not return a value
pandas/io/stata.py:675: error: Need type annotation for 'off'
pandas/io/stata.py:676: error: Need type annotation for 'val'
pandas/io/stata.py:677: error: Need type annotation for 'txt'
pandas/io/stata.py:934: error: Argument 1 to "list" has incompatible type "str"; expected "Iterable[int]"
pandas/io/stata.py:934: note: Following member(s) of "str" have conflicts:
pandas/io/stata.py:934: note:     Expected:
pandas/io/stata.py:934: note:         def __iter__(self) -> Iterator[int]
pandas/io/stata.py:934: note:     Got:
pandas/io/stata.py:934: note:         def __iter__(self) -> Iterator[str]
pandas/io/stata.py:1229: error: Name 'f' already defined on line 1219
pandas/io/stata.py:1463: error: Need type annotation for 'value_label_dict'
pandas/io/stata.py:1766: error: Incompatible types in assignment (expression has type "DataFrame", variable has type "Dict[Any, Series]")
pandas/io/stata.py:1767: error: "Dict[Any, Series]" has no attribute "columns"
pandas/io/stata.py:1836: error: Incompatible types in assignment (expression has type "str", variable has type "List[Any]")
pandas/io/stata.py:1851: error: Incompatible types in assignment (expression has type "Series", variable has type "Categorical")
pandas/io/stata.py:2160: error: Need type annotation for '_converted_names'
pandas/io/stata.py:2174: error: Need type annotation for '_value_labels'
pandas/io/stata.py:2309: error: Need type annotation for 'typlist'
pandas/io/stata.py:2310: error: Need type annotation for 'fmtlist'
pandas/io/stata.py:3075: error: Argument 1 to "write" of "BytesIO" has incompatible type "str"; expected "Union[bytes, bytearray]"
pandas/io/pytables.py:1107: error: Need type annotation for 'remain_values'
pandas/io/pytables.py:1181: error: Item "None" of "Optional[Any]" has no attribute "link"
pandas/io/pytables.py:1229: error: Item "None" of "Optional[Any]" has no attribute "group"
pandas/io/pytables.py:1243: error: Item "None" of "Optional[Any]" has no attribute "exceptions"
pandas/io/pytables.py:1302: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "bool")
pandas/io/pytables.py:1399: error: Item "None" of "Optional[Any]" has no attribute "table"
pandas/io/pytables.py:2871: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/io/pytables.py:2871: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/io/pytables.py:2871: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/io/pytables.py:2871: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/io/pytables.py:3275: error: Need type annotation for 'index_axes'
pandas/io/pytables.py:3276: error: Need type annotation for 'non_index_axes'
pandas/io/pytables.py:3277: error: Need type annotation for 'values_axes'
pandas/io/pytables.py:3278: error: Need type annotation for 'data_columns'
pandas/io/pytables.py:3279: error: Need type annotation for 'metadata'
pandas/io/pytables.py:3280: error: Need type annotation for 'info'
pandas/io/pytables.py:3553: error: Need type annotation for '_indexables'
pandas/io/pytables.py:3556: error: "None" has no attribute "extend"
pandas/io/pytables.py:3565: error: Argument 1 to "len" has incompatible type "None"; expected "Sized"
pandas/io/pytables.py:3575: error: "None" has no attribute "extend"
pandas/io/pytables.py:4060: error: Too many arguments for "Selection"
pandas/io/pytables.py:4147: error: Incompatible types in assignment (expression has type "Optional[List[IndexCol]]", base class "Table" defined the type as "List[Any]")
pandas/io/pytables.py:4372: error: Too many arguments for "Selection"
pandas/io/pytables.py:4817: error: Incompatible types in assignment (expression has type "TimedeltaIndex", variable has type "DatetimeIndex")
pandas/io/parquet.py:80: error: Name 'pyarrow' already defined on line 77
pandas/io/parquet.py:98: error: Need type annotation for 'from_pandas_kwargs'
pandas/io/packers.py:229: error: Incompatible types in assignment (expression has type "None", variable has type "BinaryIO")
pandas/io/packers.py:417: error: "DatetimeIndex" has no attribute "tz_convert"
pandas/io/packers.py:651: error: "DatetimeIndex" has no attribute "tz_localize"
pandas/io/packers.py:873: error: Argument 1 to "BytesIO" has incompatible type "str"; expected "bytes"
pandas/io/html.py:99: error: Argument 2 to "range" has incompatible type "Optional[int]"; expected "int"
pandas/io/html.py:126: error: Incompatible types in assignment (expression has type "Union[str, bytes]", variable has type "bytes")
pandas/io/html.py:438: error: Need type annotation for 'remainder'
pandas/io/html.py:545: error: Need type annotation for 'unique_tables'
pandas/io/html.py:736: error: Need type annotation for 'rows'
pandas/io/json/_table_schema.py:267: error: Incompatible types in assignment (expression has type "str", target has type "List[Any]")
pandas/io/json/_normalize.py:290: error: Argument 1 to "zip" has incompatible type "Union[str, List[Any], None]"; expected "Iterable[Any]"
pandas/io/json/_normalize.py:307: error: Argument 1 to "zip" has incompatible type "Union[str, List[Any], None]"; expected "Iterable[Any]"
pandas/io/json/_json.py:64: error: Incompatible types in assignment (expression has type "Type[SeriesWriter]", variable has type "Type[JSONTableWriter]")
pandas/io/json/_json.py:66: error: Incompatible types in assignment (expression has type "Type[FrameWriter]", variable has type "Type[JSONTableWriter]")
pandas/io/json/_json.py:830: error: Incompatible types in assignment (expression has type "str", variable has type "Set[Any]")
pandas/io/json/_json.py:1136: error: Incompatible types in assignment (expression has type "DataFrame", variable has type "Dict[int, Any]")
pandas/io/json/_json.py:1137: error: "Dict[int, Any]" has no attribute "columns"
pandas/core/reshape/tile.py:517: error: Incompatible types in assignment (expression has type "Callable[[Any], Any]", variable has type "partial[Any]")
pandas/core/reshape/pivot.py:214: error: Incompatible types in assignment (expression has type "str", variable has type "Tuple[str, ...]")
pandas/core/reshape/pivot.py:548: error: Need type annotation for 'data'
pandas/core/reshape/pivot.py:605: error: Invalid index type "bool" for "Dict[str, Callable[[Any], Any]]"; expected type "str"
pandas/core/reshape/merge.py:922: error: Need type annotation for 'join_names'
pandas/core/reshape/merge.py:1770: error: Unsupported operand types for - ("_T" and "int")
pandas/core/reshape/merge.py:1772: error: Unsupported operand types for + ("_T" and "int")
pandas/core/reshape/merge.py:1772: error: Incompatible types in assignment (expression has type "int", target has type "_T")
pandas/core/reshape/merge.py:1774: error: Unsupported target for indexed assignment
pandas/core/reshape/merge.py:1774: error: Unsupported operand types for - ("_T" and "int")
pandas/core/reshape/melt.py:472: error: "List[Any]" has no attribute "reset_index"
pandas/core/reshape/concat.py:559: error: No overload variant of "__setitem__" of "list" matches argument types "int", "int"
pandas/core/reshape/concat.py:559: note: Possible overload variants:
pandas/core/reshape/concat.py:559: note:     def __setitem__(self, int, None) -> None
pandas/core/reshape/concat.py:559: note:     def __setitem__(self, slice, Iterable[None]) -> None
pandas/core/reshape/concat.py:667: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:667: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:667: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:667: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:708: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:708: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:708: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:708: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/util/testing.py:85: error: Argument 2 to "simplefilter" has incompatible type "Tuple[Type[DeprecationWarning], Type[ResourceWarning]]"; expected "Type[Warning]"
pandas/util/testing.py:92: error: Argument 2 to "simplefilter" has incompatible type "Tuple[Type[DeprecationWarning], Type[ResourceWarning]]"; expected "Type[Warning]"
pandas/util/testing.py:210: error: Incompatible types in assignment (expression has type "IO[Any]", variable has type "BinaryIO")
pandas/util/testing.py:212: error: Incompatible types in assignment (expression has type "BZ2File", variable has type "BinaryIO")
pandas/util/testing.py:214: error: Incompatible types in assignment (expression has type "LZMAFile", variable has type "BinaryIO")
pandas/util/testing.py:219: error: Incompatible types in assignment (expression has type "IO[bytes]", variable has type "BinaryIO")
pandas/util/testing.py:261: error: Incompatible types in assignment (expression has type "Type[GzipFile]", variable has type "Type[ZipFile]")
pandas/util/testing.py:265: error: Incompatible types in assignment (expression has type "Type[BZ2File]", variable has type "Type[ZipFile]")
pandas/util/testing.py:269: error: Incompatible types in assignment (expression has type "Type[LZMAFile]", variable has type "Type[ZipFile]")
pandas/util/testing.py:280: error: Incompatible types in assignment (expression has type "Tuple[Any]", variable has type "Tuple[Any, Any]")
pandas/util/testing.py:515: error: Argument 1 to "close" has incompatible type "Optional[int]"; expected "int"
pandas/util/testing.py:1050: error: "ExtensionArray" has no attribute "asi8"
pandas/util/testing.py:1815: error: Cannot call function of unknown type
pandas/util/testing.py:1842: error: Cannot call function of unknown type
pandas/util/testing.py:1976: error: Cannot call function of unknown type
pandas/util/testing.py:2004: error: Need type annotation for 'cnt'
pandas/util/testing.py:2206: error: "_create_missing_idx" gets multiple values for keyword argument "density"
pandas/util/testing.py:2206: error: "_create_missing_idx" gets multiple values for keyword argument "random_state"
pandas/util/testing.py:2234: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "Tuple[Any, ...]")
pandas/util/testing.py:2411: error: "Exception" has no attribute "reason"
pandas/util/testing.py:2420: error: Argument 1 to "format_exc" has incompatible type "Exception"; expected "Optional[int]"
pandas/util/testing.py:2673: error: Item "None" of "Optional[List[_Record]]" has no attribute "__iter__" (not iterable)
pandas/io/sas/sas_xport.py:350: error: Need type annotation for 'fields'
pandas/io/sas/sas7bdat.py:90: error: Need type annotation for 'column_names_strings'
pandas/io/sas/sas7bdat.py:91: error: Need type annotation for 'column_names'
pandas/io/sas/sas7bdat.py:92: error: Need type annotation for 'column_formats'
pandas/io/sas/sas7bdat.py:93: error: Need type annotation for 'columns'
pandas/io/sas/sas7bdat.py:95: error: Need type annotation for '_current_page_data_subheader_pointers'
pandas/io/sas/sas7bdat.py:97: error: Need type annotation for '_column_data_lengths'
pandas/io/sas/sas7bdat.py:98: error: Need type annotation for '_column_data_offsets'
pandas/io/sas/sas7bdat.py:99: error: Need type annotation for '_column_types'
pandas/io/sas/sas7bdat.py:386: error: "_subheader_pointer" has no attribute "offset"
pandas/io/sas/sas7bdat.py:387: error: "_subheader_pointer" has no attribute "length"
pandas/io/sas/sas7bdat.py:388: error: "_subheader_pointer" has no attribute "compression"
pandas/io/sas/sas7bdat.py:389: error: "_subheader_pointer" has no attribute "ptype"
pandas/io/sas/sas7bdat.py:488: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")
pandas/io/sas/sas7bdat.py:624: error: "_column" has no attribute "col_id"
pandas/io/sas/sas7bdat.py:625: error: "_column" has no attribute "name"
pandas/io/sas/sas7bdat.py:626: error: "_column" has no attribute "label"
pandas/io/sas/sas7bdat.py:627: error: "_column" has no attribute "format"
pandas/io/sas/sas7bdat.py:628: error: "_column" has no attribute "ctype"
pandas/io/sas/sas7bdat.py:629: error: "_column" has no attribute "length"
pandas/io/formats/style.py:125: error: Need type annotation for 'ctx'
pandas/io/formats/style.py:126: error: Need type annotation for '_todo'
pandas/io/formats/style.py:147: error: Need type annotation for 'hidden_columns'
pandas/io/formats/style.py:158: error: Need type annotation for '_display_funcs'
pandas/io/formats/style.py:247: error: Need type annotation for 'cell_context'
pandas/io/formats/style.py:554: error: Cannot determine type of 'ctx'
pandas/io/formats/style.py:557: error: Cannot determine type of 'ctx'
pandas/io/formats/style.py:1335: error: Invalid type "cls"
pandas/io/formats/style.py:1335: error: Invalid base class
pandas/io/formats/latex.py:127: error: Need type annotation for 'clinebuf'
pandas/io/formats/excel.py:537: error: Incompatible types in assignment (expression has type "Generator[ExcelCell, None, None]", variable has type "Tuple[]")
pandas/io/formats/excel.py:730: error: Cannot instantiate abstract class 'ExcelWriter' with abstract attributes 'engine', 'save', 'supported_extensions' and 'write_cells'
pandas/core/window.py:715: error: Need type annotation for 'exclude'
pandas/core/window.py:840: error: Too many arguments for "__init__" of "object"
pandas/core/window.py:904: error: Need type annotation for 'exclude'
pandas/core/window.py:2114: error: Too many arguments for "count"
pandas/core/window.py:2446: error: Need type annotation for 'exclude'
pandas/core/resample.py:413: error: "PeriodIndex" has no attribute "asfreq"; maybe "freq"?
pandas/core/resample.py:998: error: Too many arguments for "__init__" of "object"
pandas/core/resample.py:1575: error: "PeriodIndex" has no attribute "asfreq"; maybe "freq"?
pandas/core/resample.py:1814: error: "PeriodIndex" has no attribute "asfreq"; maybe "freq"?
pandas/tseries/holiday.py:422: error: Item "None" of "Optional[Any]" has no attribute "sort_index"

@vaibhavhrt something you may have interest in as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    Typingtype annotations, mypy/pyright type checking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions