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 cd19225 commit 31a31acCopy full SHA for 31a31ac
larray_editor/editor.py
@@ -280,6 +280,13 @@ def view_eurostat_indicator(self, index):
280
281
arr = freq_eurostat(selected_frequencies, arr)
282
283
+ # Load the data into the editor
284
+ editor = self.parent()
285
+ new_data = editor.data.copy()
286
+ new_data[code] = arr
287
+ editor.update_mapping(new_data)
288
+ self.parent().kernel.shell.user_ns[code] = arr
289
+ self.accept()
290
except Exception:
291
QMessageBox.critical(self, "Error", "Failed to load {}".format(code))
292
self.parent().view_expr(arr, expr=code)
0 commit comments