Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
factor-detail
Project
Project
Details
Activity
Releases
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
子恒
factor-detail
Commits
59e031d5
Commit
59e031d5
authored
Apr 23, 2020
by
子恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix]修复文件路径问题。
parent
89855b44
Pipeline
#172
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
factor_detail_doc.py
factor_detail_doc.py
+1
-1
No files found.
factor_detail_doc.py
View file @
59e031d5
...
@@ -32,7 +32,7 @@ class FactorDetailDoc(object):
...
@@ -32,7 +32,7 @@ class FactorDetailDoc(object):
df
.
to_sql
(
name
=
'factor_detail'
,
con
=
self
.
_destination
,
if_exists
=
'append'
,
index
=
False
)
df
.
to_sql
(
name
=
'factor_detail'
,
con
=
self
.
_destination
,
if_exists
=
'append'
,
index
=
False
)
def
update
(
self
):
def
update
(
self
):
excel
=
pd
.
read_excel
(
'factor_detail_doc.xlsx'
,
sheet_name
=
None
)
excel
=
pd
.
read_excel
(
'
doc/
factor_detail_doc.xlsx'
,
sheet_name
=
None
)
sheet_names
=
list
(
excel
.
keys
())
sheet_names
=
list
(
excel
.
keys
())
factor_info
=
sheet_names
.
pop
(
0
)
factor_info
=
sheet_names
.
pop
(
0
)
self
.
update_factor_info
(
excel
[
factor_info
])
self
.
update_factor_info
(
excel
[
factor_info
])
...
...
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