custom_function_definition属性

custom_function_definition属性

解析自定义函数的定义。

注意事项

对于一些特殊需求,比如在用户自定义引擎中计算自定义函数时, 有些参数需要以数组的方式计算,利用此属性可以标记这些参数 解析公式时使用数组模式。否则,用户需要稍后通过以下方式更新这些自定义函数: Workbook.update_custom_function_definition 得到相同的结果。

定义:

@property
def custom_function_definition(self):
    ...
@custom_function_definition.setter
def custom_function_definition(self, value):
    ...

也可以看看