We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b46996 commit ad00e6bCopy full SHA for ad00e6b
sparkmagic/sparkmagic/utils/utils.py
@@ -53,7 +53,7 @@ def records_to_dataframe(records_text, kind, coerce=None):
53
if records_text in ['', '[]']:
54
strings = []
55
else:
56
- strings = records_text.split('\n')
+ strings = records_text.strip().split('\n')
57
try:
58
data_array = [json.JSONDecoder(object_pairs_hook=OrderedDict).decode(s) for s in strings]
59
0 commit comments