Skip to content

Commit dc2de64

Browse files
authored
Update date_chunker.py
1 parent fbe8fc7 commit dc2de64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arctic/chunkstore/date_chunker.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ def to_chunks(self, df, chunk_size='D', **kwargs):
1616
generator that produces tuples: (start date, end date,
1717
chunk_size, dataframe/series)
1818
"""
19-
if chunk_size not in ('D', 'M', 'Y'):
20-
raise Exception("Chunk size must be one of D, M, Y")
19+
if chunk_size not in ('D', 'M', 'Y', 'A'):
20+
raise Exception("Chunk size must be one of D, M, Y, A")
2121

2222
if 'date' in df.index.names:
2323
dates = df.index.get_level_values('date')

0 commit comments

Comments
 (0)