pandas.Series.dt.total_seconds() documentation confusing ...
github.com › pandas-dev › pandasOct 30, 2017 · This is incorrect; looking at the API reference for datetimeline properties, it's made clear that this attribute is only available on timedelta Series. It might be helpful to make it more clear in the documentation for pd.Series.dt.total_seconds() that the method is only available on timedelta Series. Most people will get to the page by googling "Pandas total_seconds" or something similar; they won't often see where it falls in the API reference.