mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #1004] Spotify and Pandas Incompatability #599
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#599
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PaulGeorge1993 on GitHub (Jul 21, 2023).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1004
I am currently working on a code to read each song in a Spotify playlist and save the artist's name, song name, and duration into a CSV file. However, when running the code, I encounter the following error:
For reference, I have tested it and my code works well without the pandas import and I have created a virtual environment where the only modules present are spotipy and panda, yet, the error continues to persist. Is the issue that I need to use a different version of pandas (2.03), numpy (1.25.1), or spotipy ( 2.23.0), or is it simply a bug?
@dieser-niko commented on GitHub (Jul 22, 2023):
Does this error have to do something with the spotipy library? It seems to be an issue in the pandas library.
@CezarGab commented on GitHub (Aug 3, 2023):
Can you provide the line where this error appears? Also I thinks this is an import error, from pandas, and not Spotipy.
@stephanebruckert commented on GitHub (Aug 4, 2023):
Does it work with only pandas import?
@dpnem commented on GitHub (Sep 10, 2023):
I use spotipy and pandas all the time together without any problems other than self-inflicted ones. Here's a function that builds a dataframe from a playlist_id. The way my processes work it goes from spotipty -> pandas -> lists -> spotipy.
@stephanebruckert commented on GitHub (Jul 9, 2024):
Closing as we have an example for it and no response from OP
SpotifyClientCredentialsand fixed a bug in refresh tokens methods that raised the wrong exception #982