ZhangZhihui's Blog  

2025年12月18日

摘要: At its core, a Python dataclass (introduced in Python 3.7) is a decorator used to automatically generate "boilerplate" code for classes that primarily 阅读全文
posted @ 2025-12-18 21:34 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0)
 
摘要: from pyflink.table import TableEnvironment, EnvironmentSettings settings = EnvironmentSettings.in_streaming_mode() t_env = TableEnvironment.create(set 阅读全文
posted @ 2025-12-18 16:26 ZhangZhihuiAAA 阅读(8) 评论(0) 推荐(0)
 
摘要: tokenizer = Tokenizer(inputCol='text', outputCol='tokens') remover = StopWordRemover(inputCol='tokens', outputCol='filtered') encoder = OneHotEncoder( 阅读全文
posted @ 2025-12-18 09:21 ZhangZhihuiAAA 阅读(4) 评论(0) 推荐(0)