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
7f944481
Commit
7f944481
authored
Apr 22, 2025
by
fangxingjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ce835ee7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dwt_top100.py
Pyspark_job/dwt/dwt_top100.py
+2
-2
No files found.
Pyspark_job/dwt/dwt_top100.py
View file @
7f944481
...
...
@@ -90,11 +90,11 @@ class DwtTop100(Templates):
def
save_data
(
self
):
self
.
df_save
=
self
.
df_flow_asin
self
.
df_save
=
self
.
df_save
.
toPandas
()
self
.
df_save
.
to_csv
(
f
"/
root
/asin_bsr_{self.site_name}_{self.date_info}.csv"
,
index
=
False
)
self
.
df_save
.
to_csv
(
f
"/
home/fangxingjun
/asin_bsr_{self.site_name}_{self.date_info}.csv"
,
index
=
False
)
def
save_data_old
(
self
):
self
.
df_save
=
self
.
df_save
.
toPandas
()
self
.
df_save
.
to_csv
(
f
"/
root
/asin_bsr_{self.site_name}_{self.date_info}.csv"
,
index
=
False
)
self
.
df_save
.
to_csv
(
f
"/
home/fangxingjun
/asin_bsr_{self.site_name}_{self.date_info}.csv"
,
index
=
False
)
if
__name__
==
'__main__'
:
...
...
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