From 537ad05d5940f2af064dee38ca43c9f28fe4613c Mon Sep 17 00:00:00 2001 From: Joe Jevnik Date: Mon, 1 Aug 2016 12:25:44 -0400 Subject: [PATCH] ENH: other fields do not need to remain constant --- zipline/assets/asset_writer.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/zipline/assets/asset_writer.py b/zipline/assets/asset_writer.py index 35084e6c..0fa6dc98 100644 --- a/zipline/assets/asset_writer.py +++ b/zipline/assets/asset_writer.py @@ -187,13 +187,6 @@ def _generate_output_dataframe(data_subset, defaults): def _check_asset_group(group): - for colname in set(group.columns) - mapping_columns: - col = group[colname] - if len(col.unique()) != 1: - raise ValueError( - 'All values must be the same for the %s column' % colname, - ) - row = group.iloc[0] row.start_date = group.start_date.min() row.end_date = group.end_date.max()