MAINT: Use sort_values instead of sort().

Sort is deprecated.
This commit is contained in:
Scott Sanderson
2016-07-19 11:11:31 -04:00
parent b5fd0cdbfa
commit 9c82960876
+1 -1
View File
@@ -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