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
c59539d4
Commit
c59539d4
authored
Dec 18, 2025
by
chenyuanjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://47.106.101.75/abel_cjy/Amazon-Selection-Data
into developer
parents
7839ed18
482c47ba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
templates.py
Pyspark_job/utils/templates.py
+1
-1
No files found.
Pyspark_job/utils/templates.py
View file @
c59539d4
...
...
@@ -272,7 +272,7 @@ class Templates(object):
self
.
year
=
tuple
(
df_week
.
year
)[
0
]
self
.
month
=
tuple
(
df_week
.
month
)[
0
]
print
(
f
"self.year:{self.year}, self.month:{self.month}"
)
if
self
.
date_type
in
[
'month'
,
'month_old'
,
'month_week'
]:
if
self
.
date_type
in
[
'month'
,
'month_old'
,
'month_week'
,
'month_aba_me'
]:
self
.
year_month
=
self
.
date_info
self
.
year
,
self
.
month
=
self
.
year_month
.
split
(
"-"
)[
0
],
self
.
year_month
.
split
(
"-"
)[
1
]
df_month
=
df
.
loc
[
df
.
year_month
==
self
.
year_month
]
...
...
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