All videos

pandas-stubs — How we enhanced pandas with type annotations

January 27, 2022

The "type stubs" mechanism allows you to perform static type analysis for non-annotated Python code. We will present the "pandas_stubs" library, which enriches the pandas code with the missing type information. We will describe its genesis and development process as well as the current state of the project.

We will show examples where its use allows us to avoid hidden errors in the code. We will talk about the collection of the library, current use, and development plans.