Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
duizhang_tools
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
data—王林芳
duizhang_tools
Commits
1951fcf0
Commit
1951fcf0
authored
Jul 28, 2017
by
白条—徐加哲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赔付代码格式化.
parent
4efbabc2
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
excel_compare_tool.py
audit_sort/linfang/excel_compare_tool.py
+2
-0
readme.md
audit_sort/linfang/readme.md
+1
-1
每日赔付_1.37_20170714.py
audit_sort/linfang/每日赔付_1.37_20170714.py
+0
-0
No files found.
audit_sort/linfang/excel_compare_tool.py
View file @
1951fcf0
...
...
@@ -25,6 +25,7 @@ new_path = '/Users/xujiazhe/Desktop/data/未还本金_2016.xlsx'
old_df
=
pd
.
read_excel
(
old_path
)
new_df
=
pd
.
read_excel
(
new_path
)
#old_df = pd.read_csv(old_path, encoding='gbk')
# 以后源程序 跑完直接对比 读大excel费时间
old_df
=
old_df
.
ix
[
~
old_df
[
u'订单号'
]
.
isnull
()]
...
...
@@ -41,6 +42,7 @@ gp2 = new_df.groupby(key_columns)[key_columns].agg(['count']).reset_index()
a
=
gp2
[
'count'
]
.
max
()
len
(
gp2
)
==
len
(
new_df
)
# len(dfgp.groupby( [u'商户', 'order_no']).groups) == len(dfgp)
old_add
=
old_df
.
ix
[
old_df
[
u'订单号'
]
.
isin
(
diff_order_nos
)]
new_add
=
new_df
.
ix
[
new_df
[
u'订单号'
]
.
isin
(
diff_order_nos
)]
...
...
audit_sort/linfang/readme.md
View file @
1951fcf0
...
...
@@ -38,7 +38,7 @@
*
2016-12-31白条-去哪儿-在贷本金余额及2017.1-6回款2.xlsx
-
/去哪儿/V2/出表/去哪儿--根据订单号统计实还金额.py 【测试通过,测试结果 2016-12-31白条-去哪儿-在贷本金余额及2017.1-6回款2-TestResult.xlsx 】
*
白条2017-01至06月还款情况.csv
-
白条还款表-shiyao.py 【数据
待确认确认跑完
,TODO】
-
白条还款表-shiyao.py 【数据
和结果 结构差距大
,TODO】
#### 15,16赔付表
...
...
audit_sort/linfang/每日赔付_1.37_20170714.py
View file @
1951fcf0
This diff is collapsed.
Click to expand it.
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