modin
modin copied to clipboard
``Series.sample()``, ``Series.repeat()`` and ``Series.empty()`` don`t work correctly at MODIN_STORAGE_FORMAT=omnisci
When I run:
import modin.pandas as pd
from modin.pandas.test.utils import test_data_values
import modin.config as cfg
cfg.StorageFormat.put('omnisci')
data = test_data_values[0]
modin_series = pd.Series(data)
hasattr(modin_series.sample(n=0, random_state=21019), "index")
I have error:
KeyError: 'Column F___reduced__ does not exist in schema'
Also function repeat
have this problem if run:
hasattr(modin_series.repeat(0), "index")
Also function Series.empty
have this error:
modin_series = pd.Series()
modin_series.empty
@modin-project/modin-omnisci could someone please check if this still happens?
Should be fixed by #4910
@AndreyPavlenko, #4910 is merged. Should we close this issue?
The issue is not reproducible after the merge, however, the following warning is printed: UserWarning: Frame contain columns with unsupported data-types: ['F___reduced__']. All operations with this frame will be default to pandas!
Okay, that looks like a separate feature to implement so I am closing this issue.