Blog

Learning diary of Arya Yang


  • 首页

  • 标签

  • 分类

  • 归档

  • 搜索

C语言学习-五子棋盘

发表于 2020-08-15 | 分类于 programming |
五子棋棋盘 five-in-a-row用c语言写出可判断输赢的五子棋棋盘 123456789101112131415161718/** * 五子棋游戏,两个玩家,每个玩家输入要落子的行号和列号输入格式%d %d * * */#include <stdio.h>#include < ...
阅读全文 »

pandas5

发表于 2020-08-08 | 分类于 programming |
Pandas Introduction 5vectorized string operationcapitalizeIt needs for loop to realize the capitalization. 123import numpy as np data = ['peter', 'Pau ...
阅读全文 »

C语言学习5

发表于 2020-08-08 | 分类于 programming |
C语言笔记5第十课 class 10文件种类: 文本文件:ascii码储存 二进制文件:二进制保存 文件类型指针: FILE *指针变量名 打开:fopen;关闭:fclose 文件指针名=fopen(“文件名”,“文件使用方式”) ;//文件不在此目录,写文件绝对路径 fclose(文件指 ...
阅读全文 »

pandas4

发表于 2020-08-03 | 分类于 programming |
Pandas Introduction 4accumulation count() 计数项 first()、last() 第一项与最后一项 mean()、median() 均值与中位数 min()、max() 最小值与最大值 std()、var() 标准差与方差 mad() ...
阅读全文 »

C语言学习4

发表于 2020-07-31 | 分类于 programming |
C语言笔记4第七课 class 7函数除main函数其他都能调用 int(返回值类型) max(函数名) (参数){ ​ 函数体 } void表示没有返回值(无return) 省略默认为int 参数不可为常量、表达式、数组元素 定义函数:在参数后直接加; 函数体内不能定义函数 函数返回 ...
阅读全文 »

pandas3

发表于 2020-07-27 | 分类于 programming |
Pandas Introduction 3Concat and Append12import pandas as pd import numpy as np 123456789101112def make_df(cols, ind): """一个简单的DataFrame""" data = & ...
阅读全文 »

pandas2

发表于 2020-07-26 | 分类于 programming |
Pandas Introduction 2indexeskeep the indexes:when making difficult calculations,it will keep its indexes. first create a series and a dataframe: 12345 ...
阅读全文 »

reading seminar整理

发表于 2020-07-26 | 分类于 daily |
reading seminar collection心理学 经济学《第一本经济学》 数学《数学之美》 Maths can be connected with all kinds of problems in our daily life,including the language we u ...
阅读全文 »

pandas1

发表于 2020-07-23 | 分类于 programming |
Pandas Introduction 1Seriesfirst import pandas: 12345import pandas pandas.__version__ #Out: '0.18.1'import pandas as pd create series: pd.Series(dat ...
阅读全文 »

C语言学习3

发表于 2020-07-22 | 分类于 programming |
C语言笔记3第四课 class 4guess number:when the number is between 1 to 100, we need to guess for 7 times maximum. read more: https://arya-1017.github.io/2020/ ...
阅读全文 »
<i class="fa fa-angle-left"></i>123…6<i class="fa fa-angle-right"></i>
Arya Yang

Arya Yang

Including learning records and other activities

53 日志
6 分类
10 标签
© 2021 Arya Yang
由 Hexo 强力驱动
|
主题 — NexT.Pisces v5.1.4