Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
preprocess-data
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dasharatha.vamshi
preprocess-data
Commits
d8222015
Commit
d8222015
authored
Feb 24, 2021
by
dasharatha.vamshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
csv file
parent
e1f2ec62
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main.py
main.py
+1
-1
No files found.
main.py
View file @
d8222015
...
@@ -87,7 +87,7 @@ if __name__ == '__main__':
...
@@ -87,7 +87,7 @@ if __name__ == '__main__':
raise
Exception
(
ComponentExceptions
.
INVALID_Fillna_Method
)
raise
Exception
(
ComponentExceptions
.
INVALID_Fillna_Method
)
obj
=
PreProcessComponent
()
obj
=
PreProcessComponent
()
data
,
date_pkl
,
forcast_df
=
obj
.
preprocess
(
json_path
,
standard_scalar_path
,
fillna_method
)
data
,
date_pkl
,
forcast_df
=
obj
.
preprocess
(
json_path
,
standard_scalar_path
,
fillna_method
)
logger
.
info
(
"Got the data writing it to pickle files
(preprocessed_X.pkl and date_X.pkl
)"
)
logger
.
info
(
"Got the data writing it to pickle files
and csv files (preprocessed_X.pkl and date_X.pkl and forcast_data.csv
)"
)
try
:
try
:
output
=
open
(
os
.
path
.
join
(
shared_volume
,
'preprocessed_X.pkl'
),
'wb'
)
output
=
open
(
os
.
path
.
join
(
shared_volume
,
'preprocessed_X.pkl'
),
'wb'
)
pickle
.
dump
(
data
,
output
)
pickle
.
dump
(
data
,
output
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment