idea Refreshing files 卡顿

Idea 切换maven仓库之后,重新构建老是卡住。。如图所示。 按照 https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000027164-Refreshing-files-takes-way-tool-long-often-before-building- 的操作提示,File” -> “Invalidate Caches and Restart” 重启之后,得到解决。

azkaban回调配置

azkaban 是linkin开源的一套简单的任务调度服务系统。如果需要配置任务的状态回调,那么需要加入以下配置: type=command job.notification.started.1.url = http://10.20.115.20:9527/index/callback?message=started&server=?{server}&project=?{project}&flow=?{flow}&executionId=?{executionId}&job=?{job}&status=?{status} job.notification.success.1.url = http://10.20.115.20:9527/index/callback?message=success&server=?{server}&project=?{project}&flow=?{flow}&executionId=?{executionId}&job=?{job}&status=?{status} job.notification.failure.1.url = http://10.20.115.20:9527/index/callback?message=failure&server=?{server}&project=?{project}&flow=?{flow}&executionId=?{executionId}&job=?{job}&status=?{status} job.notification.completed.1.url = http://10.20.115.20:9527/index/callback?message=completed&server=?{server}&project=?{project}&flow=?{flow}&executionId=?{executionId}&job=?{job}&status=?{status} command=exit -1 dependencies=callback 其中主要

pandas 使用技巧总结(持续更新)

pandas 对指定列做fillna df.fillna({'code':'code', 'date':'date'}) df.[["code", "date"]].fillna("") pandas 指定列重命名 df.rename(columns={"amount": "total_amount"}, inplace=True) DataFrame 按直接列left join合并 df = pd.merge(df_1, df_2, on=["code", "date"], how='left') DataFrame 两列相加相减 df["amount"] = df["total_amount"] - df["amount"] df["amount"] = df["total_amount"] + df["amount"]