convert
- stardust.utils.convert.read_rosetta(project_id=None, input_path=None, pool_lst=None, export_type=None, **kwargs)[source]
start to convert data, your choice can be: SDK、 json,default to be SDK, if you want to export other formats, please refer to stardust.conversion
- Args:
- project_id:
rosetta project
- input_path:
path to store json data exported from Rosetta
- pool_lst:
pool list from your rosetta project
- export_type:
expected export data type,SDK or json
Returns:
- stardust.utils.convert.read_ms(*args, **kwargs)[source]
Export MorningStar data
- Args:
- dataset_id:
Data set ID
- version_num:
Version number
- slice_id:
Slice ID
- page_no:
Slice paging
- page_size:
Amount of data per page
- Returns:
generator object
- Examples:
from stardust.utils.convert import read_ms from stardust.convertion.to_pandaset import to_pandaset # Derived data gen_data = read_ms( dataset_id=351787480925605888, version_num=18 ) # scale format to_pandaset(gen_data, export_path:"Input save directory")