8 lines
147 B
Python
8 lines
147 B
Python
|
import pandas as pd
|
||
|
|
||
|
|
||
|
def get_leagues_data():
|
||
|
df = pd.read_csv('leagues.csv', sep=";", header=0)
|
||
|
return [row for _, row in df.iterrows()]
|
||
|
|