-
Notifications
You must be signed in to change notification settings - Fork 0
季总结 project V 1.0 #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
MIKEILOLITESLA
commented
Aug 29, 2019
- 上传了修改后的 代码
- 更新了部分代码
- 修改了上个版本中被指出的问题
- 分析数据的 title 改为汉语表示
- 增加了在当前文件夹中生成 result.txt 文件的功能,使结果更方便观看
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 更新了 九月五号周四和九月四号周三的代码,commit name 为 Sep 5th coding
MIKEILOLITESLA
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以通过在后面加 arg 的形式来改变分析的表格
- '-A' 或者 '--Table_A' 后面加文件名替换 Applestore.csv 文件
- '-B' 或者 '--Table_B' 后面加文件名替换 googleplaystore.csv 文件
加入了 main 函数
可以用 ./ 的形式执行不用再前缀 python3
未加入文件类型识别功能
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
__main__ 语句之后不能有其它函数定义,以及非函数定义的语句了,除非是在 __main__ 自己的作用于之内。
第 100 行 print('##导入数据完成##') 开始以后的还需要再整理成函数封装,并且放到 __main__ 语句的前面。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
前面三条语句可以直接合并成一条:file_handle.write('##开始对数据的清理##\n\n')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
前面三条语句直接合并成一条:print('##导入数据完成##\n##开始对数据的清理##')
再去 Google 上搜索一下 print() 语句的用法。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
从这里开始到 除去重复数据组 之前,定义成函数。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
把这个功能定义成函数。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-5 又是什么参数?
应该先把它赋值给一个变量,再以参数的形式传给函数 display_table,这样别人读起来更直观。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
问题同上。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
问题同上。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
把这个模块的代码整理成函数。
-
在计算方法的代码之前注释一下它的算法。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
每一种不同的数据维度都应该封装成函数。
本次更新的内容
遇到的问题
接下来的计划
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
一个可执行文件里面不能有多个这样的语句。
|