pandas Timedelta error
问题 I'm getting errors when running the code samples from the pandas documentation. I suspect it might be related to the version of pandas I'm using, but I haven't been able to confirm that. pandas VERSION 0.10.1 numpy VERSION 1.7.0 scipy VERSION 0.12.0.dev-14b1e07 The below examples are taken directly from the pandas documentation here: pandas - Time Deltas This works from datetime import datetime, timedelta from pandas import * s = Series(date_range('2012-1-1', periods=3, freq='D')) s Out[52]: