Loading data with csv file in Google Bigquery
Photo by Ravi Patel on Unsplash

Loading data with csv file in Google Bigquery


In Google Cloud BigQuery we can load data from the csv file. We can create a dataset under the Google Project. Within the dataset we create tables.

Wine quality data is available in Kaggle.

No alt text provided for this image

Next, we create a table within this dataset.

No alt text provided for this image

Here we are creating a table with upload option. We have provided the file path and the file format. The dataset name has been provided. When Auto detect is selected then the schema gets created automatically during the table creation.

No alt text provided for this image


No alt text provided for this image
No alt text provided for this image

The schema tab list the schema details of the table. The details tab provide us with table details like the total number of rows etc. With the preview tab we can inspect the rows of data populated.

Once we have the data loaded we can either run SQL queries in the BigQuery console or we can execute the queries directly in the Jupiter notebook and perform our analysis and visualization.

To view or add a comment, sign in

More articles by Ruma Sinha

  • BigqueryML and Logistic Regression

    In this article will explore the Logistic Regression with SQL in BigQueryML, using the Heart dataset from Kaggle. In…

  • BigQuery and DataLab

    We can work directly with BigQuery from Jupyter notebook in DataLab. Can do the pip install as !pip install…

Explore content categories