数据基础_数据以及数据集的操作

逻辑基础:

数据和数据集
元素-- 对象 -- 容器

数据-数据集元素的操作

数据元素
算数运算
代数运算
逻辑运算
位移运算

数据集--常见操作:

   增 删 改 查
   初始化 遍历 排序  iterator
   数据类型转换
   包含:  
常见keys
   增加    :  append   add  push
   删除    :  remove   del  pop    clear delete  drop truncate
   改      :  set
   查      :  [],  take()  get   endsWith  indexOf  find
   复制    :  clone  copy
包含与归属 :  contains    in  is  isinstance()   equals  exists  isEmpty empty
   元素数量:  len  length  count  size
   边界:      max   min  sum
   符号    :  +  *  []  :  -
   数据类型: copyToArray   toList
  下一个:   hasNext  next
 集合的情况
  keys  values  items 
实现方式
 数据本身操作 以及内置函数	   

高阶函数

  遍历:      foreach map flatmap 
  过滤筛选:  filter
  聚合:      reduce  aggregations 
  查看:      head()  tail() first  last count() take() lastIndexOf
  应用:      apply() 函数
  关联:      zip  union 
  排序和反转  reverse  order  sorted
 Transformation:数据转换的各种操作,
       Map / FlatMap / Filter / KeyBy / Reduce / Fold / Aggregations 
       / Window / WindowAll / Union / Window join 
      / Split / Select / Project 等

Linux常用查看命令

操作类型
查看文件内容   cat   echo  less more  head()  tail()
查看各种  :   cat /proc/cpuinfo  cat /proc/meminfo    fdisk -l   dmesg
               df  du  
               ifconfig  uname  date 
               pwd   ls  ps  top   
   CPU 内存 磁盘 网卡  文件 网络 操作系统版本 时间
搜寻查找类 :  find  locate which  whereis 
帮助信息类:   help man  info
过滤类:       grep
原文地址:https://www.cnblogs.com/ytwang/p/13896677.html