About half a dozen railcars derailed at about 4 a.m. Thursday in the Union Pacific Railroad's Bailey Yard in North Platte, the railroad said.