The by-election was necessitated following the resignation of Congress leader Shafi Parambil, who vacated the seat after being elected to the Lok Sabha from Vadakara in the general election this year.