Discussion:
rename a column?
(too old to reply)
Ken Walker
2017-10-18 21:24:29 UTC
Permalink
I'm still relatively new to PyTables, so trying to understand some of the
Table, Cols and Column operations.
I have an HDF5 file created by another application. It has a simple table
with 12 columns of data.
I can get the column names by printing the table description.
And, I can use the cols operator to print each columns name, coldtypes[]
and coldtypes[].shape.
I found ways to add or delete columns from the table.
Is there a way to rename a column (ie change the name)?

Thanks,
Ken Walker
--
You received this message because you are subscribed to the Google Groups "pytables-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pytables-users+***@googlegroups.com.
To post to this group, send an email to pytables-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Francesc Alted
2017-10-20 08:56:08 UTC
Permalink
Sorry, this thread was meant to be public :P


---------- Forwarded message ----------
From: Francesc Alted <***@gmail.com>
Date: 2017-10-20 10:55 GMT+02:00
Subject: Re: [pytables-users] rename a column?
To: Ken Walker <***@gmail.com>


Yes, a PR means a Pull Request on GitHub.

Thanks!
Hello Fransec,
This isn't a critical need, but I'm happy to submit a PR on this.
How do I do that? Is PR == Pull Request on github?
Regards,
-Ken
Hi Ken,
Uh, I don't think renaming a column is implement, but it sounds
interesting indeed, so a PR is welcome.
Francesc
Post by Ken Walker
I'm still relatively new to PyTables, so trying to understand some of
the Table, Cols and Column operations.
I have an HDF5 file created by another application. It has a simple
table with 12 columns of data.
I can get the column names by printing the table description.
And, I can use the cols operator to print each columns name, coldtypes[]
and coldtypes[].shape.
I found ways to add or delete columns from the table.
Is there a way to rename a column (ie change the name)?
Thanks,
Ken Walker
--
You received this message because you are subscribed to the Google
Groups "pytables-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Francesc Alted
--
Francesc Alted
--
Francesc Alted
--
You received this message because you are subscribed to the Google Groups "pytables-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pytables-users+***@googlegroups.com.
To post to this group, send an email to pytables-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...