Canadians are shaking off months of economic pessimism as worries about weak growth and higher energy prices fade.