csmailis / npyviewer Goto Github PK
View Code? Open in Web Editor NEWLoad and view .npy files containing 2D and 1D NumPy arrays.
License: MIT License
Load and view .npy files containing 2D and 1D NumPy arrays.
License: MIT License
Hi,
First of all, thanks a lot for your work, this is a really helpful tool to work with npy files!
Now to my issue ;-)
I have a npy file that holds an array with custom dtype, e.g. something like:
my_array = np.empty(20, dtype=[('name', 'S32'), ('value', '<f8')])
my_array['value'] = np.arange(20)
np.save('tmp.npy', my_array)
Trying to load this results into it being treated as 1d-array, where the column contains both names and values.
Do you plan to support such custom dtypes as individual columns as well? Or could you comment on what changes would be required to do so (I could potentially contribute)?
Thanks!
In our project we store our .npy data as .npz with one array for the data and one array for the header. Would it be possible to add support for .npz?
I imagine a feature where opening a .npz file shows a tree-like structure in the GUI allowing the user to select which array to display
Hello,
I am trying to create a .npy file with my .csv file but it just give me 100 rows and I need 263. How can I increase the number of rows?
Thank you
I cannot select the filepath because of no menu show, my platform is macOS (MacBook Pro), could it be solved? Thanks!
Could you please consider opening the .npy files from bash, like:
python3 NPYViewer.py abc.npy
As title, I have enough memory in my computer but it just stuck there.
Dtype = float32
Shape = (452, 800, 800)
When reading files that are greater than a thousand kilobytes, the viewer becomes unresponsive for a few seconds, eventually not responding at all.
This looks like a great project! Mind determining what license you'd like to use for it? This will allow organizations to pick up and use the code as is. Thanks for considering if you do!
Hi,
I tried running on python 3.8.5, and installed the requirements with 'pip install -r requirements.txt', but I get this error message when trying to run:
Traceback (most recent call last):
File "NPYViewer.py", line 2, in <module>
from PyQt5.QtWidgets import *
ModuleNotFoundError: No module named 'PyQt5'
I see that PyQt5 is not listed under the requirements.txt file...
Which version of PyQt5 do I need to install?
Shouldn't it be listed in the requirements.txt file...?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.