Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Amazon-Selection-Data
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abel_cjy
Amazon-Selection-Data
Commits
20ea475b
Commit
20ea475b
authored
May 26, 2025
by
chenyuanjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
流量选品-bug修复
parent
ca34c459
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
dwt_flow_asin.py
Pyspark_job/dwt/dwt_flow_asin.py
+1
-1
No files found.
Pyspark_job/dwt/dwt_flow_asin.py
View file @
20ea475b
...
...
@@ -517,7 +517,7 @@ class DwtFlowAsin(Templates):
"package_quantity"
:
1
,
"is_movie_label"
:
0
,
"is_brand_label"
:
0
,
"is_alarm_brand"
:
0
,
"title_matching_degree"
:
0.0
,
"asin_lqs_rating"
:
0.0
,
"follow_sellers_count"
:
-
1
})
self
.
df_save
=
self
.
df_save
.
repartition
(
60
)
.
persist
(
StorageLevel
.
DISK_ONLY
)
self
.
df_save
=
self
.
df_save
.
drop_duplicates
([
'asin'
])
.
filter
(
F
.
length
(
F
.
col
(
"asin"
))
<=
10
)
self
.
df_save
=
self
.
df_save
.
drop_duplicates
([
'asin'
])
.
filter
(
(
F
.
col
(
"asin"
)
.
isNotNull
())
&
(
F
.
col
(
"asin"
)
!=
""
)
&
(
F
.
length
(
F
.
col
(
"asin"
))
<=
10
)
)
print
(
"数据量为:"
,
self
.
df_save
.
count
())
self
.
df_save
.
show
(
10
,
truncate
=
False
)
...
...
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