You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And this mostly works for CSV files (but needs to be documented and unit-tested if it's not already)
>>>read_csv('test.csv', nb_axes=0)
{0}\{1} abc0a0011a123>>># but not for read_excel...>>>read_excel('classic.xlsx', nb_axes=0)
ValueError: Mustpassnon-zeronumberoflevels/codes>>># ... unless we use engine='openpyxl'>>>read_excel('classic.xlsx', engine='openpyxl', nb_axes=0)
{0}\{1} a\columnbc0a0011a123
I would also like to be able to achieve this:
>>>Array([[ 'a', 'b', 'c'],
... ['a0', 0, 1],
... ['a1', 2, 3]])
{0}*\{1}*0120abc1a0012a123>>># it is possible using open_excel>>>withopen_excel('test.xlsx') aswb:
... print(wb[0][:])
{0}*\{1}*0120a\columnbc1a0012a123>>># but I don't think it is currently possible using either read_csv. It might be possible using read_excel(engine='openpyxl') by using undocumented (in larray) pandas arguments.
My old fix_nb_axes_eq_1 branch fixes a related problem and discuss a bit about this.
I think in the end we will need arguments to specify number of (or indices of) vertical axes and horizontal axes AND support those arguments to be 0.
The text was updated successfully, but these errors were encountered:
i.e. use synthetic 0-N labels in anonymous axes.
This is necessary to support database-like files and this is the default behaviour in Pandas.
First create our test case:
I want to be able achieve this:
And this mostly works for CSV files (but needs to be documented and unit-tested if it's not already)
I would also like to be able to achieve this:
My old fix_nb_axes_eq_1 branch fixes a related problem and discuss a bit about this.
I think in the end we will need arguments to specify number of (or indices of) vertical axes and horizontal axes AND support those arguments to be 0.
The text was updated successfully, but these errors were encountered: