mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-07 15:27:05 +08:00
MAINT: Use sort_values instead of sort().
Sort is deprecated.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user