mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
copy=False does not make the changes inline anyway, so not needed
This commit is contained in:
parent
c651e0ac82
commit
e2e6b940a3
|
@ -71,8 +71,7 @@ class JsonDataHandler(IDataHandler):
|
|||
return DataFrame(columns=self._columns)
|
||||
pairdata = read_json(filename, orient='values')
|
||||
pairdata.columns = self._columns
|
||||
pairdata = pairdata.astype(copy=False,
|
||||
dtype={'open': 'float', 'high': 'float',
|
||||
pairdata = pairdata.astype(dtype={'open': 'float', 'high': 'float',
|
||||
'low': 'float', 'close': 'float', 'volume': 'float'})
|
||||
pairdata['date'] = to_datetime(pairdata['date'],
|
||||
unit='ms',
|
||||
|
|
Loading…
Reference in New Issue
Block a user