We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way I can modify the values of one matrix and store it again under the same name?
In the example, I tried: halves = np.array(m1) * 0.5
halves = np.array(m1) * 0.5
and then: myfile['m1']=halves
myfile['m1']=halves
But this generates an error NodeError: group ``/data`` already has a child node named 'm1'
NodeError: group ``/data`` already has a child node named 'm1'
In the API, I don't see an option to delete a matrix. This would allow me to use the "create_matrix" function.
The text was updated successfully, but these errors were encountered:
You can drop a matrix using the pytables API
import tables f = tables.open_file('myfile.omx', 'a') f.remove_node("/data/MATNAME")
Sorry, something went wrong.
No branches or pull requests
Is there a way I can modify the values of one matrix and store it again under the same name?
In the example, I tried:
halves = np.array(m1) * 0.5
and then:
myfile['m1']=halves
But this generates an error
NodeError: group ``/data`` already has a child node named 'm1'
In the API, I don't see an option to delete a matrix. This would allow me to use the "create_matrix" function.
The text was updated successfully, but these errors were encountered: