Skip to content
Advertisement

Tag: weather-api

Iterating through JSON and appending into dataframe

I’m getting weather forecasting data from weatherstack API. The output looks like this: How do I iterate through this output and create a new data frame to look like this: (And get only the date time hour, and rain values) Date precip at time 0 precip at time 300 … 2021-05-11 0.1 0 … 2021-05-12 0.1 0 … … …

Advertisement