From 9c82960876b23539ff680372dca63060c0e9cc3c Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Tue, 19 Jul 2016 11:11:31 -0400 Subject: [PATCH] MAINT: Use sort_values instead of sort(). Sort is deprecated. --- zipline/data/bundles/quandl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipline/data/bundles/quandl.py b/zipline/data/bundles/quandl.py index d13bb36b..d946e6cc 100644 --- a/zipline/data/bundles/quandl.py +++ b/zipline/data/bundles/quandl.py @@ -119,7 +119,7 @@ def fetch_symbol_metadata_frame(api_key, 'name': 'asset_name', 'oldest_available_date': 'start_date', 'newest_available_date': 'end_date', - }).sort('symbol') + }).sort_values('symbol') data = data[~data.symbol.isin(excluded_symbols)] # cut out all the other stuff in the name column