Gatsbywl's recent timeline updates
Gatsbywl

Gatsbywl

V2EX member #412166, joined on 2019-05-14 14:46:59 +08:00
Gatsbywl's recent replies
Mar 29, 2021
Replied to a topic by badacook Python DataFrame 内容处理
def getString(s):
pattern = r'[(](.*?)[)]'
reString = re.compile(pattern, re.S)
tmpString = re.findall(reString, s)
return tmpString[0] if tmpString else s
df.applymap(getString)
===================================
或者一行,易读性不好:
df.applymap(lambda s:re.findall(re.compile(r'[(](.*?)[)]', re.S), s)[0] if re.findall(re.compile(r'[(](.*?)[)]', re.S), s) else s)
更:系统中没有 /etc/fstab 文件,但是 mount 命令能看到挂载的情况。怎么能生成 fstab 文件啊
pandas 需要学习成本
看了一下,事件标题是 EditText,开始和结束时间是 TextView,应该是绑定的监听事件吧,如果匹配是 XXXX 年自动变,后面的月日同理,所以监听的 format 应该是 XXXX 年 XX 月 XX 日,测试了一下,有效期是 1950-2050 年。这个需求可能是让你输入标题的时候就自动选择了开始和结束时间,开发者以为我们会在标题里就写了具体的日期干什么
join 连接?
selenium 了解一下
Feb 4, 2020
Replied to a topic by tqz 程序员 [算法求助] 满减优惠怎么做
[3, 2, 5], [5, 5] 不是不满足最少 4 件的要求吗??
Sep 22, 2019
Replied to a topic by Gatsbywl Linux 不懂就问: Java & Python 开发 Linux GUI 程序
@myhot21
@hoyixi 请问一下,现在我已经用 swing 做完了,是用 IEDA 写的,在我的 linux 电脑上已经测试通过了。那么怎么才能打包成一个应用,能直接在另外一台 linux 电脑上运行我的这个程序? 就像别的 linux 程序一样下载即用。
Sep 20, 2019
Replied to a topic by Gatsbywl Linux 不懂就问: Java & Python 开发 Linux GUI 程序
@alls
谢谢大家的意见!学到了很多新的东西,回头我会好好研究研究。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3056 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 39ms · UTC 03:08 · PVG 11:08 · LAX 20:08 · JFK 23:08
♥ Do have faith in what you're doing.