Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how to import csv file

+8 votes
asked Nov 15, 2019 by anonymous

1 Answer

0 votes
answered May 16, 2023 by Hope (300 points)

Import and Display the csv file 

import pandas as pd

df = pd.read_csv("data.csv")

print(df)

IN GOOGLE COLAB

from google.colab import files

uploaded = files.upload()

FROM GITHUB

url = 'copied_raw_github_link'
df = pd.read_csv(url)

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...