From a1d45fdc8468d12c8d8e349ab59acc89a453f90d Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Mon, 5 Jun 2023 18:17:58 +0400 Subject: [PATCH] Fix NoModule error --- prepare_dataset.py | 2 +- {prepare_dataset => src/prepare_dataset}/career.py | 2 +- {prepare_dataset => src/prepare_dataset}/military.py | 2 +- {prepare_dataset => src/prepare_dataset}/person.py | 10 +++++----- {prepare_dataset => src/prepare_dataset}/raw_data.py | 0 {prepare_dataset => src/prepare_dataset}/school.py | 2 +- {prepare_dataset => src/prepare_dataset}/university.py | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) rename {prepare_dataset => src/prepare_dataset}/career.py (90%) rename {prepare_dataset => src/prepare_dataset}/military.py (88%) rename {prepare_dataset => src/prepare_dataset}/person.py (92%) rename {prepare_dataset => src/prepare_dataset}/raw_data.py (100%) rename {prepare_dataset => src/prepare_dataset}/school.py (93%) rename {prepare_dataset => src/prepare_dataset}/university.py (94%) diff --git a/prepare_dataset.py b/prepare_dataset.py index 9bb9c64..5790c42 100644 --- a/prepare_dataset.py +++ b/prepare_dataset.py @@ -6,7 +6,7 @@ import sys import pandas as pd -from prepare_dataset.person import Person +from src.prepare_dataset.person import Person def __main(json_file_name): diff --git a/prepare_dataset/career.py b/src/prepare_dataset/career.py similarity index 90% rename from prepare_dataset/career.py rename to src/prepare_dataset/career.py index c1b7545..80d1b58 100644 --- a/prepare_dataset/career.py +++ b/src/prepare_dataset/career.py @@ -1,4 +1,4 @@ -from prepare_dataset.raw_data import RawData +from src.prepare_dataset.raw_data import RawData class Career: diff --git a/prepare_dataset/military.py b/src/prepare_dataset/military.py similarity index 88% rename from prepare_dataset/military.py rename to src/prepare_dataset/military.py index ba7bf14..f402ae2 100644 --- a/prepare_dataset/military.py +++ b/src/prepare_dataset/military.py @@ -1,4 +1,4 @@ -from prepare_dataset.raw_data import RawData +from src.prepare_dataset.raw_data import RawData class Military: diff --git a/prepare_dataset/person.py b/src/prepare_dataset/person.py similarity index 92% rename from prepare_dataset/person.py rename to src/prepare_dataset/person.py index 5212d39..d35da5d 100644 --- a/prepare_dataset/person.py +++ b/src/prepare_dataset/person.py @@ -1,8 +1,8 @@ -from prepare_dataset.career import Career -from prepare_dataset.military import Military -from prepare_dataset.raw_data import RawData -from prepare_dataset.school import School -from prepare_dataset.university import University +from src.prepare_dataset.career import Career +from src.prepare_dataset.military import Military +from src.prepare_dataset.raw_data import RawData +from src.prepare_dataset.school import School +from src.prepare_dataset.university import University class Person: diff --git a/prepare_dataset/raw_data.py b/src/prepare_dataset/raw_data.py similarity index 100% rename from prepare_dataset/raw_data.py rename to src/prepare_dataset/raw_data.py diff --git a/prepare_dataset/school.py b/src/prepare_dataset/school.py similarity index 93% rename from prepare_dataset/school.py rename to src/prepare_dataset/school.py index b01be02..f93a5d5 100644 --- a/prepare_dataset/school.py +++ b/src/prepare_dataset/school.py @@ -1,4 +1,4 @@ -from prepare_dataset.raw_data import RawData +from src.prepare_dataset.raw_data import RawData class School: diff --git a/prepare_dataset/university.py b/src/prepare_dataset/university.py similarity index 94% rename from prepare_dataset/university.py rename to src/prepare_dataset/university.py index 08c85ce..1e4be87 100644 --- a/prepare_dataset/university.py +++ b/src/prepare_dataset/university.py @@ -1,4 +1,4 @@ -from prepare_dataset.raw_data import RawData +from src.prepare_dataset.raw_data import RawData class University: