数据处理
JOY酷酷
这个作者很懒,什么都没留下…
展开
-
利用Python解析CSV文件
1.CSV的特点:每行文本以行为单位呈现字段被分隔符(通常为逗号)隔开只存储数据不需要任何软件就可以读取2.手动解析CSV文件# Your task is to read the input DATAFILE line by line, and for the first 10 lines (not including the header)# split each原创 2017-04-06 23:03:18 · 7226 阅读 · 0 评论 -
利用Python解析Excel文件
# coding=utf-8#!/usr/bin/env python"""Your task is as follows:- read the provided Excel file- find and return the min, max and average values for the COAST region- find and return the time value原创 2017-04-08 23:24:04 · 1434 阅读 · 0 评论 -
Tkinter 的简单用法
利用 Tkinter 实现输入一段文字,点击按钮后,在下方显示输入的文字首先,Tkinter 是 python 内置的工具,不需要 install,使用的时候直接 import 就可以辣。先尝试了一下 Entry(输入框)、Button、Text 三个控件的用法。# -*- coding: UTF-8 -*-from tkinter import *def runTest(): ...原创 2018-02-11 22:22:48 · 357 阅读 · 0 评论