Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
岳巧源
/
my-awesome-project
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2550f2e5
authored
Jul 31, 2024
by
larosa
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add new line
parent
6e7e8746
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
waldom_data_process_RMB.py
waldom_data_process_RMB.py
View file @
2550f2e5
...
@@ -72,7 +72,7 @@ class HandleCSV:
...
@@ -72,7 +72,7 @@ class HandleCSV:
else
:
else
:
table
[
'stock'
]
=
int
(
data
)
table
[
'stock'
]
=
int
(
data
)
elif
title_arr
[
j
]
==
'MOQ'
:
elif
title_arr
[
j
]
==
'MOQ'
:
table
[
'moq'
]
=
data
table
[
'moq'
]
=
int
(
data
)
elif
title_arr
[
j
]
in
ladder_map
:
elif
title_arr
[
j
]
in
ladder_map
:
if
len
(
str
(
data
)
.
strip
())
!=
0
and
str
(
data
)
.
strip
()
.
isdigit
():
if
len
(
str
(
data
)
.
strip
())
!=
0
and
str
(
data
)
.
strip
()
.
isdigit
():
ladder_item_map
[
'purchases'
]
=
int
(
data
)
ladder_item_map
[
'purchases'
]
=
int
(
data
)
...
@@ -113,7 +113,7 @@ class HandleCSV:
...
@@ -113,7 +113,7 @@ class HandleCSV:
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
start
=
time
.
time
()
start
=
time
.
time
()
HandleCSV
()
.
parse
(
'Tianyang_Inventory_Feed_RMB.
xlsx
'
)
HandleCSV
()
.
parse
(
'Tianyang_Inventory_Feed_RMB.
csv
'
)
end
=
time
.
time
()
end
=
time
.
time
()
print
(
"spend time: "
+
str
(
end
-
start
))
print
(
"spend time: "
+
str
(
end
-
start
))
...
...
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