woodwork.type_sys.type_system.TypeSystem.update_inference_function#

TypeSystem.update_inference_function(logical_type, inference_function)[source]#

Update the inference function for the specified LogicalType.

Parameters
  • logical_type (LogicalType) – The LogicalType for which to update the inference function.

  • inference_function (func) – The new inference function to use. Can be set to None to skip type inference for the specified LogicalType.