Skip to content

Commit

Permalink
readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HungYann committed Nov 29, 2019
1 parent f3ffb47 commit 0c4ced9
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 0 deletions.
78 changes: 78 additions & 0 deletions Articles/2019-11-28-汽车售价预估系统.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# 二手汽车售卖预估系统



设计思路:根据以往汽车的价格以及用户的需求,输出汽车价格的预估
操作流程: 用户选择汽车品牌,
汽车的行驶里程数,
汽车引擎类型,
生产年份,
给出预估价格

————————————————————————————————————————————————————
思考问题?

是否可以空缺?用户不知道空缺值怎么办?

增加优化:
是否可以给出一个范围?如何设计实现?


品牌:

***
下拉列表框
[x] 1
[x] 2


***


行驶里程数
输入框


***


汽车引擎类型

***

生产年份

***

驾驶类型
下拉列表框

***


## 用户选择:

1.汽车的品牌

实现方法,多选框,并点击提交按钮

2.汽车的行驶里程数
下拉列表框

3.汽车引擎类型
下拉列表框

4.生产年份

5.驾驶类型


结果是:

给出一个预估的售价


https://dash.plot.ly/getting-started

https://www.shanelynn.ie/python-pandas-read_csv-load-data-from-csv-files/

36 changes: 36 additions & 0 deletions Articles/2019-11-29-Pandas中查看列中数据的种类.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
## Pandas中查看列中数据的种类及个数

### 读取数据

```{}
import pandas as pd
import numpy as np
filepath = 'your_file_path.csv'
data = pd.read_csv(filepath)
```

### 查看列中的值类型及个数


```{}
data['unit name'].value_counts()
```



若列的行数超过屏幕显示,设置**display.max_rows**

若列的列数超过屏幕显示,设置**display.max_columns**

设置显示20行

```{}
pd.set_option('display.max_rows',20)
```


**References:**

[设置最大行数和最大列数](https://zhuanlan.zhihu.com/p/51577849)

0 comments on commit 0c4ced9

Please sign in to comment.