WARN/ERR: raise on .resample('1M', closed='left')? #51710
Labels
Error Reporting
Incorrect or improved errors from pandas
Resample
resample method
Warnings
Warnings that appear or should be added to pandas
Splitting off from #5440 (comment)
If someone types
.resample('1M', closed='left')
, then the bins will be something likeDo people actually have this use case - of starting their groups on the last day of the month?
Perhaps this should warn or error, and point users towards what they almost certainly meant to write, which is
Related: here it's suggested to even rename
'M'
to'ME'
The text was updated successfully, but these errors were encountered: