test.py 385 B

123456789101112
  1. import cudf
  2. import numpy as np
  3. import pandas as pd
  4. pandas_df = pd.DataFrame({'a': np.random.randint(0, 100000000, size=100000000),
  5. 'b': np.random.randint(0, 100000000, size=100000000)})
  6. # exit()
  7. cudf_df = cudf.DataFrame({'a': np.random.randint(0, 100000000, size=100000000),
  8. 'b': np.random.randint(0, 100000000, size=100000000)})