title: How do I collect the csv datasets as a matrix instead of a tuple?
body: <pre><code>#helper libraries
  import numpy as np
  import pandas as pd
  
  #loading the data
  import os
  train_dataset = pd.read_csv(&quot;/content/sample_data/mnist_train_small.csv&quot;)
  test_dataset = pd.read_csv(&quot;/content/sample_data/mnist_test.csv&quot;)
  
  # each image is mapped to a label so  (a number from 1 to 10) so for ease of use the labels have been given class names
  class_names = ['T-shirt/top', 'Pair of Trouser', 'Pull over', 'Dress', 'Coat', 'Sandal', 'Shirt', 'Sneaker', 'Bag', 'Ankle Boot']
  
  #exploring the data
  train_dataset.shape()
  test_dataset.shape()
  </code></pre>
  <blockquote>
  <p>TypeError                                 Traceback (most recent call last)
   in ()
  1 #exploring hte data
  2 &quot;&quot;&quot;we need to know the dimensions of our data so that we know how best to concatenate or give it any similar process&quot;&quot;&quot;
  ----&gt; 3 train_dataset.shape()
  4 test_dataset.shape()</p>
  </blockquote>
  <p>TypeError: 'tuple' object is not callable</p>