Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
Project
Project
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
424954a0
Commit
424954a0
authored
Sep 03, 2018
by
高雅喆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
return one day stat
parent
71498ed7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
grayStat.py
eda/gray_stat/grayStat.py
+5
-4
No files found.
eda/gray_stat/grayStat.py
View file @
424954a0
...
@@ -62,8 +62,9 @@ class GrayStat(object):
...
@@ -62,8 +62,9 @@ class GrayStat(object):
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
date_list
=
get_between_day
(
'2018-08-20'
,
'2018-08-29'
)
# date_list = get_between_day('2018-08-20','2018-08-29')
for
my_date
in
date_list
:
# for my_date in date_list:
print
(
"开始获取ffm中的灰度非灰度比例"
)
print
(
"开始获取ffm中的灰度非灰度比例"
)
start
=
time
.
time
()
start
=
time
.
time
()
#1.ffm中的灰度非灰度(ios和安卓一样):
#1.ffm中的灰度非灰度(ios和安卓一样):
...
@@ -75,7 +76,7 @@ if __name__ == '__main__':
...
@@ -75,7 +76,7 @@ if __name__ == '__main__':
grays
=
[
'6'
,
'8'
]
grays
=
[
'6'
,
'8'
]
for
platform
in
platforms
:
for
platform
in
platforms
:
for
gray
in
grays
:
for
gray
in
grays
:
g_class
=
GrayStat
(
'diary'
,
gray
,
platform
,
my_date
)
g_class
=
GrayStat
(
'diary'
,
gray
,
platform
)
uid_count
=
g_class
.
get_uid_count
()
uid_count
=
g_class
.
get_uid_count
()
uid_clk_times
=
g_class
.
get_uid_clk_times
()
uid_clk_times
=
g_class
.
get_uid_clk_times
()
uid_imp_times
=
g_class
.
get_uid_imp_times
()
uid_imp_times
=
g_class
.
get_uid_imp_times
()
...
@@ -121,7 +122,7 @@ if __name__ == '__main__':
...
@@ -121,7 +122,7 @@ if __name__ == '__main__':
else
:
else
:
grays
=
[
'0|1|2|6|8'
,
'^01268'
]
grays
=
[
'0|1|2|6|8'
,
'^01268'
]
for
gray
in
grays
:
for
gray
in
grays
:
g_class
=
GrayStat
(
'diary'
,
gray
,
platform
,
my_date
)
g_class
=
GrayStat
(
'diary'
,
gray
,
platform
)
uid_count
=
g_class
.
get_uid_count
()
uid_count
=
g_class
.
get_uid_count
()
uid_clk_times
=
g_class
.
get_uid_clk_times
()
uid_clk_times
=
g_class
.
get_uid_clk_times
()
uid_imp_times
=
g_class
.
get_uid_imp_times
()
uid_imp_times
=
g_class
.
get_uid_imp_times
()
...
...
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