IO¶
HTTP¶
Local¶
Loading Tables¶
-
class
p5.
Table
(path, seperator)¶ Class to represent tabular data
Parameters: path (string) – Path to the CSV file. -
getArray
()¶ Returns: the entire csv data as an multidimensional array. Return type: list
-
getColumn
(name)¶ Parameters: name (string) – Name of the required column Returns: An entire column based on the column index. Return type: list
-
getColumnCount
()¶ Returns: Number of columns in the read CSV. Return type: int
-
getRow
(index)¶ Returns an entire row when given the row index.
Parameters: index (string) – Name of the row Returns: An entire row when given the row index. Return type: list
-
getRowCount
()¶ Returns: Number of rows in the read CSV. Return type: int
-
get_array
()¶ Returns: the entire csv data as an multidimensional array. Return type: list
-
get_column
(name)¶ Parameters: name (string) – Name of the required column Returns: An entire column based on the column index. Return type: list
-
get_column_count
()¶ Returns: Number of columns in the read CSV. Return type: int
-
get_row
(index)¶ Returns an entire row when given the row index.
Parameters: index (string) – Name of the row Returns: An entire row when given the row index. Return type: list
-
get_row_count
()¶ Returns: Number of rows in the read CSV. Return type: int
-