I have private repo in gitlab and I want to read a CSV file in python. How can I access gitlab from python? I tried this code but it is not working.
import requests
from io import StringIO
import pandas as pd
url = "https://gitlab.com/...../CSV_HOMEWORK.csv"
df = pd.read_csv(StringIO(requests.get(url).text))
print(df.head())
How do I need to pass my credentials?
Error I have enter image description here