总觉得自己就是一个活动的巨坑,坑了队友,坑了自己。
工作习惯
- 因为没跟上司沟通好,之前的需求没有结清的情况下接下了另一个需求,导致了需求拖延,并且把压力转嫁到复核同事身上。
解决方案:
不能高估自己的能力,特别是不熟悉的情况下。过度乐观预估自己的能力,很容易引出后续的问题。其次就是复核之前需要跟复核同事沟通好需求出数的时间,否则会给复核的同事很大压力。
- 不敢打断同事的工作,插队提问和沟通。
解决方案:
需要习惯急事即使沟通沟通的工作方式。不能因为害怕打扰别人工作就拖延沟通,这样会带来严重的超出预期的后果。
SAS技术
- 计算累计值。
需要用到retain和first关键字,并且在retain之前需要对数据进行排序。






data test1;
input id$5. bill 8.;
datalines;
00001 100
00001 200
00002 300
00001 400
00002 600
00002 100
00001 400
00003 700
00001 800
00003 900
00001 1000
;
run;
proc sort data=test1; by id; run;
data test2;
set test1;
by id;
retain bill;
length total_bill 8.;
if first.id then total_bill=0;
total_bill + bill;
run;
- 给累计账单1500的客户上标
方法很简单,只需要把累计金额大于1500的客户取出,独立存一个表。然后再用账单表和本表连接即可。


proc sort data=test2(where=(total_bill>1500)) out=test3 nodupkey; by id; run;
data test4;
set test3(keep=id);
remark = "消费金额大于1500元";
run;
proc sort data=test2; by id; run;
data test5;
merge test2(in=a) test4;
by id;
if a;
run;
网友评论