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
import os
os.environ["MODIN_ENGINE"] = "ray"
import modin.pandas as pd
pd.DEFAULT_NPARTITIONS = 1
data = [x for x in range(10000)]
df = pd.DataFrame(data)
print(len(df._query_compiler._modin_frame._partitions)) # <available number of cores>