Fix SaveNpy so that it saves in the interpreter's current directory
This commit is contained in:
parent
1c6c3b8df7
commit
de880a1fbb
1 changed files with 1 additions and 1 deletions
2
npy.bqn
2
npy.bqn
|
@ -24,7 +24,7 @@ BuildHeader←{dtype 𝕊 data:
|
||||||
}
|
}
|
||||||
DetectDtype←{(∧´⥊⌊⊸=¨𝕩)⊑⟨"<f8",(∧´⥊0≤𝕩)⊑"<i4"‿"<u4"⟩}
|
DetectDtype←{(∧´⥊⌊⊸=¨𝕩)⊑⟨"<f8",(∧´⥊0≤𝕩)⊑"<i4"‿"<u4"⟩}
|
||||||
EncodeNpy←DetectDtype⊸(BuildHeader∾ArrayToBytes⟜⥊)
|
EncodeNpy←DetectDtype⊸(BuildHeader∾ArrayToBytes⟜⥊)
|
||||||
SaveNpy←•file.Bytes⟜EncodeNpy
|
SaveNpy←(•wdpath⊸•file.At)⊸•file.Bytes⟜EncodeNpy
|
||||||
|
|
||||||
# Loading
|
# Loading
|
||||||
ParseHeader←{𝕊𝕩:
|
ParseHeader←{𝕊𝕩:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue