Skip to content

PlayerProfileV2 returning empty dataframe for Career Highs #562

@Salvlormonch1

Description

@Salvlormonch1

I was using the playerprofilev2 endpoint to get career highs for players and it worked fine until a few months ago. Now I tried to use the same code to get the updated career highs from the last playoffs and it wasn't working. I tried to use this simpler code to test if it was the endpoint or it was my code and it was returning an empty dataframe.

from nba_api.stats.static import players
from nba_api.stats.endpoints import playerprofilev2, playergamelogs
import pandas as pd
import re

profile = playerprofilev2.PlayerProfileV2(player_id=201939)
df = profile.get_data_frames()[0]
print(df)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions