SciRuby / daru

Data Analysis in RUby
BSD 2-Clause "Simplified" License
1.03k stars 139 forks source link

MultiIndexed Vectors and DataFrames should return Daru::Index when only one level remains #538

Open jonspalmer opened 3 years ago

jonspalmer commented 3 years ago

If you access a MultiIndexed Vector or DataFrame with a partial tuple that leaves one level remaining then the returned object should have s simple Daru::Index not a Daru::MultiIndex. This matches the behavior of Pandas