- Relax numpy version requirement
- fix publish workflow being triggered twice
- try with two workflows
- Add support for datetime and category index types
- try again
- try with pat
- retry workflow fix
- Fix broken workflow. Remove custom token
- merge
- remove local refs
- Support check_index_name param passed to index field
- add df=df.copy() in validate method, to fix override bug
- Refactor check_schemas decorator to use more specific type hints
- support defining
unique
in Field
- Create FieldInfo type. Some ad-hoc refactoring too
- Index series are now also coerced, whether they are df.index or level in multiindex
- resolve merge with main
- recursive filtering did not play nice with *args and **kwargs. fix that
- Support recursive filtering to function i/o
-
- Add support for
Optional
columns in schema definitions. Add tests too. 2) Add custom errors when columns are missing and when schema definition is wrong. 3) Non-small refactor in model.py. Move colunm checks to top and simplify some things (more can be done though)
- Add support for
- Remove
regex
optional argument fromcheck
custom check decorator
- Decreate nesting in _select_matching_names
- Refactor
_validate_multiindex
so it works like_validate_columns
(also refactored a bit), and overall simplifies the code
- Do not coerce order when when Config.filter = True
- remove typo
- Cast df.index as series
- StrictConfig not reused, move into schema
- Rename pandabear.typing -> pandebear.typehints
- Clean up imports
- Implement custom check functionality in schema definitions
- tests: Refactor tests to split test classes on success/failure and dataframe/series
check_schemas
did not work for many use cases. This commit greatly simplifies how it works: now uses recursive function to check inputs at arbitrary depth, both in input and output
- BaseModel-and-children: Move
_validate_series
to BaseModel parent class
- fix-import: import CHECK_NAME_FUNCTION_MAP from pandabear.column_checks, not pandabear.model_components
- isort
- fix-output-validation: added a recursive output validation check
- add-support-for-Series-runtime-type-checking: added Series and SeriesModel classes, as well as tests demonstarting their basic function
- first commit