aboutsummaryrefslogtreecommitdiff
path: root/code/sunlab/common/data/basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'code/sunlab/common/data/basic.py')
-rw-r--r--code/sunlab/common/data/basic.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/code/sunlab/common/data/basic.py b/code/sunlab/common/data/basic.py
new file mode 100644
index 0000000..bb2e912
--- /dev/null
+++ b/code/sunlab/common/data/basic.py
@@ -0,0 +1,6 @@
+import numpy
+
+
+numpy.load_dat = lambda *args, **kwargs: numpy.load(
+ *args, **kwargs, allow_pickle=True
+).item()