You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
457 B
Python

#!/usr/bin/env python3
import os
import sys
from src.main.df_loader import DfLoader
def __main(json_file):
df_loader: DfLoader = DfLoader(json_file)
df = df_loader.get_data_frame()
print('done')
if __name__ == '__main__':
if len(sys.argv) != 2:
print('You must specify the raw_dataset json file')
exit(1)
if not os.path.isfile(sys.argv[1]):
print(f'File {sys.argv[1]} is not exists')
__main(sys.argv[1])