003-tuple , Array , Map Get started with file operations combat
Tuple elements can be typed differently note the index in the way subscript starting from 1 flexible array note the until usage array for the For loop is indexed in the above for is the subscript index (not much cumbersome) under the for is the increment Strong for Loop element Traversal index (recommended) Map note the left is key, the right side is value_ (the underscore can also be used as a placeholder, forming a structure, but no name can not be accessed) file operations were introduced into the source package . FromFile () Getlines used the iterator
Welcome to the vast number of enthusiasts to learn and exchange. Also welcome to join the study enthusiasts
DT Big Data Dream Factory Exchange Group: 462923555
DT Big Data public account: Dt_spark
Video Watch Links
http://www.tudou.com/plcover/Yy5F5gsurSE/
003-tuple, Array, map and file operation introduction