File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -56,15 +56,16 @@ def to_feather(df, path):
56
56
# raise on anything else as we don't serialize the index
57
57
58
58
if not isinstance (df .index , Int64Index ):
59
- raise ValueError ("feather does not serializing {} "
59
+ raise ValueError ("feather does not support serializing {} "
60
60
"for the index; you can .reset_index()"
61
61
"to make the index into column(s)" .format (
62
62
type (df .index )))
63
63
64
64
if not df .index .equals (RangeIndex .from_range (range (len (df )))):
65
- raise ValueError ("feather does not serializing a non-default index "
66
- "for the index; you can .reset_index()"
67
- "to make the index into column(s)" )
65
+ raise ValueError ("feather does not support serializing a "
66
+ "non-default index for the index; you "
67
+ "can .reset_index() to make the index "
68
+ "into column(s)" )
68
69
69
70
if df .index .name is not None :
70
71
raise ValueError ("feather does not serialize index meta-data on a "
You can’t perform that action at this time.
0 commit comments