Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
fund_report
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
fund_report
Commits
31a56c96
Commit
31a56c96
authored
Jan 22, 2021
by
赵杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除dataframe
parent
bd8b72f3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
jinjia2html_v2.py
app/utils/jinjia2html_v2.py
+2
-1
No files found.
app/utils/jinjia2html_v2.py
View file @
31a56c96
...
@@ -178,6 +178,7 @@ class DataIntegrate:
...
@@ -178,6 +178,7 @@ class DataIntegrate:
old_correlation_columns
=
old_correlation
.
columns
.
tolist
()
old_correlation_columns
=
old_correlation
.
columns
.
tolist
()
old_correlation_values
=
old_correlation
.
values
.
tolist
()
old_correlation_values
=
old_correlation
.
values
.
tolist
()
cur_group_portfolio_result
[
"old_correlation"
]
=
list
(
zip
(
range
(
1
,
len
(
old_correlation_columns
)
+
1
),
old_correlation_columns
,
old_correlation_values
))
cur_group_portfolio_result
[
"old_correlation"
]
=
list
(
zip
(
range
(
1
,
len
(
old_correlation_columns
)
+
1
),
old_correlation_columns
,
old_correlation_values
))
del
cur_group_portfolio_result
[
"correlation"
]
def
get_new_correlation
(
self
,
portfolio_diagnose
,
cur_group_portfolio_result
):
def
get_new_correlation
(
self
,
portfolio_diagnose
,
cur_group_portfolio_result
):
"""新相关性分析."""
"""新相关性分析."""
...
@@ -318,7 +319,7 @@ class DataIntegrate:
...
@@ -318,7 +319,7 @@ class DataIntegrate:
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
start
=
time
.
time
()
start
=
time
.
time
()
dt
=
DataIntegrate
(
ifa_id
=
'USER_INFO159
17850824287'
,
customer_id
=
'671661380253412147
2'
,
type
=
2
)
dt
=
DataIntegrate
(
ifa_id
=
'USER_INFO159
55928945523'
,
customer_id
=
'6734729261807841280
2'
,
type
=
2
)
data
=
dt
.
get_template_data
()
data
=
dt
.
get_template_data
()
dt
.
render_data
()
dt
.
render_data
()
print
(
'耗时{}秒'
.
format
(
round
(
time
.
time
()
-
start
,
2
)))
print
(
'耗时{}秒'
.
format
(
round
(
time
.
time
()
-
start
,
2
)))
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