Skip to content
#

schema

Here are 1,301 public repositories matching this topic...

tetraptych
tetraptych commented Nov 11, 2017

DateType and DateTimeType and subclasses use datetime.datetime.strptime, which in turn uses the dateutil library. Unfortunately, this library is much slower at ISO8601 date parsing than C-based alternatives (in particular, ciso8601):

import datetime
import ciso8601
%timeit datetime.datetime.strptime('2018-01-01', '%Y-%m-%d')
# 10.5 µs ± 440 ns per loop (mean ± std. dev. of 7 r

Improve this page

Add a description, image, and links to the schema topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the schema topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.