Open antoineeripret opened 1 week ago
Fully agree @antoineeripret as this is going to make analysis immediate.
You can easily create a DataFrame right now though you have to loop through the available keys(columns):
https://github.com/merj/bing-webmaster-tools/issues/3
The simpler approach is probably just running pd.DataFrame
on the response.json()
object as you show.
Hi everyone,
I've been playing with your library (mainly with
Traffic Analysis
methods), amazing work !I have a couple of suggestions.
DataFrame
Instead of keeping the raw format (confusing) returned by the API, I'd transform it into a Pandas DataFrame to ease the analysis. This can be done through this generic function that we could adapt for your library:
And instead of returning a
datetime.datetime
object, I'd use a regular "YYYY-MM-DD" for the date.Let me know what you think :)
Have a lovely weekend,
Antoine.