Skip to main content
3 votes

Project Euler #19: Counting Sundays in the 20th century using Pandas

Don't iterate the dates. Instead use the vectorized DatetimeIndex methods. Don't use freq='D', which generates all dates in the ...
tdy's user avatar
  • 945

Only top scored, non community-wiki answers of a minimum length are eligible