Coding Global Background
Coding Global

Python syntax question

Archived 3 years ago
13 messages
1 members
3 years ago
Open in Discord
M
mafrankuloo

`data.plot(y = ["tavg", "tmin", "tmax", "prcp"])` its callin an api but i wanna make some dynamic search, than i try those things; `y = ["tavg", "tmin", "tmax", "prcp"]` `data.plot(y)` `data.plot(y = [y])` `data.plot((f"y = {y}")) ` but all of them functioniert gar nicht (value errors syntax errors etc). Anyone has an idea?

Replies (13)