w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • References
  • Ruby on Rails
  • Ruby
  • Classes
  • CSV
  • CSV::Row
×
Type:
Class

A CSV::Row is part Array and part Hash. It retains an order for the fields and allows duplicates just as an Array would, but also allows you to access fields by name just as you could if they were in a Hash.

All rows returned by CSV will be constructed from this class, if header row processing is activated.

headers
  • References/Ruby on Rails/Ruby/Classes/CSV/CSV::Row

headers() Instance Public methods Returns the headers of this row.

2025-01-10 15:47:30
field
  • References/Ruby on Rails/Ruby/Classes/CSV/CSV::Row

field( header )field( header, offset )field( index ) Instance Public methods This

2025-01-10 15:47:30
field_row?
  • References/Ruby on Rails/Ruby/Classes/CSV/CSV::Row

field_row?() Instance Public methods Returns true if this is a

2025-01-10 15:47:30
==
  • References/Ruby on Rails/Ruby/Classes/CSV/CSV::Row

==(other) Instance Public methods Returns true if this row contains

2025-01-10 15:47:30
header_row?
  • References/Ruby on Rails/Ruby/Classes/CSV/CSV::Row

header_row?() Instance Public methods Returns true if this is a

2025-01-10 15:47:30
to_hash
  • References/Ruby on Rails/Ruby/Classes/CSV/CSV::Row

to_hash() Instance Public methods Collapses the row into a simple

2025-01-10 15:47:30
[]=
  • References/Ruby on Rails/Ruby/Classes/CSV/CSV::Row

[]=( header, value )[]=( header, offset, value )[]=( index, value ) Instance Public methods

2025-01-10 15:47:30
Popular Articles
Yadcf - Yet Another DataTables Column Filter Yadcf is a datatable column filter jQuery plugin that allows the user to easily add filter components to table columns, this plugin works on top of th
sklearn.datasets.make_circles() sklearn.datasets.make_circles(n_samples=100, shuffle=True, noise=None, random_state=None, factor=0.8) [source] Make a large circle containing a s
3.3. Model evaluation There are 3 different approaches to evaluate the quality of predictions of a model: Estimator score method: Estimators have a score method providin
proxy_max_temp_file_size Syntax: proxy_max_temp_file_size size; Default: proxy_max_temp_file_size 1024m; Context: http, server, location When buffering of respon
proxy_set_body Syntax: proxy_set_body value; Default: — Context: http, server, location Allows redefining the request body passed to the proxied server


Page 3 of 3

|< < Prev 1 2 3 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions