Bill Shorten has blamed the Liberal Party for promoting the idea of Kristina Keneally seeking to enter the Senate.

Tuesday's resignation of Sam Dastyari from the Senate has opened up a casual vacancy which NSW Labor will need to fill.

Ms Keneally is contesting this weekend's byelection in the NSW seat of Bennelong, but has been mentioned since the announcement as a possible replacement for Senator Dastyari.