Kafam karışık ofset eklenmesi: Burada all_treatments.iloc[i,micolix]
pandalar sınırların dışında nanosaniye zaman damgası sonra rollforward ofset artı bir ay pandalar bu hatları ile datetime nesneler için sınırların dışında patladı nasıl
import pandas as pd
BOMoffset = pd.tseries.offsets.MonthBegin()
# here some code sets the all_treatments dataframe and the newrowix, micolix, mocolix counters
all_treatments.iloc[newrowix,micolix] = BOMoffset.rollforward(all_treatments.iloc[i,micolix] + pd.tseries.offsets.DateOffset(months = x))
all_treatments.iloc[newrowix,mocolix] = BOMoffset.rollforward(all_treatments.iloc[newrowix,micolix]+ pd.tseries.offsets.DateOffset(months = 1))
pd.to_datetime(all_treatments['INDATUMA'], errors='coerce',format='%Y%m%d')
tarafından belirlenen bir tarih saat ve INDATUMA
, 20070125
biçimindeki tarih bilgisidir. pandalar yana
pandas.tslib.OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 2262-05-01 00:00:00
http://pandas-docs.github.io/pandas-docs-travis/timeseries.html#timestamp-limitations (http://stackoverflow.com/help/mcve) bu bir randevu indeksi olması mümkün olmadığını – jfs