-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
BugCompatpandas objects compatability with Numpy or Python functionspandas objects compatability with Numpy or Python functionsIO DataIO issues that don't fit into a more specific labelIO issues that don't fit into a more specific label
Milestone
Description
because i live dangerously and run master pretty much all the time i found this in some code of mine that saves indices to matlab files, the solution is to call .values
, but it would be nice if we could not break this.
Here's a simple test:
import pandas as pd
import numpy as np
from scipy.io import savemat
idx = pd.Index(np.arange(10))
savemat('test.mat', {'idx': idx}, oned_as='column')
i'll look into fixing this
Metadata
Metadata
Assignees
Labels
BugCompatpandas objects compatability with Numpy or Python functionspandas objects compatability with Numpy or Python functionsIO DataIO issues that don't fit into a more specific labelIO issues that don't fit into a more specific label