-
Notifications
You must be signed in to change notification settings - Fork 390
Description
fdr.DataReader("KS11", start_date, end_date).index.date.tolist()
이 코드 실행했을 때
JSONDecodeError Traceback (most recent call last)
File c:\Program Files\Python312\Lib\site-packages\requests\models.py:974, in Response.json(self, **kwargs)
973 try:
--> 974 return complexjson.loads(self.text, **kwargs)
975 except JSONDecodeError as e:
976 # Catch JSON-related errors and raise as requests.JSONDecodeError
977 # This aliases json.JSONDecodeError and simplejson.JSONDecodeError
File c:\Program Files\Python312\Lib\json_init_.py:346, in loads(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
343 if (cls is None and object_hook is None and
344 parse_int is None and parse_float is None and
345 parse_constant is None and object_pairs_hook is None and not kw):
--> 346 return _default_decoder.decode(s)
347 if cls is None:
File c:\Program Files\Python312\Lib\json\decoder.py:337, in JSONDecoder.decode(self, s, _w)
333 """Return the Python representation of s (a str instance
334 containing a JSON document).
335
336 """
--> 337 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
338 end = _w(s, end).end()
File c:\Program Files\Python312\Lib\json\decoder.py:355, in JSONDecoder.raw_decode(self, s, idx)
...
이런 오류가 나오는데 어떻게 해결할 수 있을까요?
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...