Skip to content

CLN: write the attributes in a HDFStore as strings #4178

New issue

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

Merged
merged 1 commit into from
Jul 9, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pandas/io/pytables.py
Original file line number Diff line number Diff line change
Expand Up @@ -1622,8 +1622,8 @@ def __unicode__(self):

def set_object_info(self):
""" set my pandas type & version """
self.attrs.pandas_type = self.pandas_kind
self.attrs.pandas_version = _version
self.attrs.pandas_type = str(self.pandas_kind)
self.attrs.pandas_version = str(_version)
self.set_version()

def copy(self):
Expand Down Expand Up @@ -2377,7 +2377,7 @@ def set_info(self):

def set_attrs(self):
""" set our table type & indexables """
self.attrs.table_type = self.table_type
self.attrs.table_type = str(self.table_type)
self.attrs.index_cols = self.index_cols()
self.attrs.values_cols = self.values_cols()
self.attrs.non_index_axes = self.non_index_axes
Expand Down