摘要: startswith()方法 startswith() 方法用于检索字符串是否以指定字符串开头,如果是返回 True;反之返回 False。 endswith()方法 endswith() 方法用于检索字符串是否以指定字符串结尾,如果是则返回 True;反之则返回 False s='hello wo 阅读全文
posted @ 2023-03-16 18:53 He_LiangLiang 阅读(11) 评论(0) 推荐(0) 编辑
摘要: python 里面,遍历 list, dic 的方法 示例 python 去掉字符串最后面一个字符 #!/usr/bin/evn python import numpy as np import pandas as pd # 指标配置 ind_config = [ { 'name': 'DN_XGB 阅读全文
posted @ 2023-03-16 16:17 He_LiangLiang 阅读(85) 评论(0) 推荐(0) 编辑