All Questions
8
questions
1
vote
2
answers
129
views
How can I make a data frame from JSON files? (using downloaded JSON files from facebook)
I'm very new to Python and currently undertaking a personal project using downloaded JSON files from Facebook, all from one chat on messenger. I keep getting an error saying df is not defined, despite ...
0
votes
1
answer
192
views
how to pull age, gender, placement, device by day from facebook using python
I am trying to pull age, gender, placement, and device by day from Facebook ads using python. So far, I only found about age and gender, not placement and device. Also, the code I am running got ...
2
votes
1
answer
720
views
How to extract replies from Facebook comments stored in list of dictionaries?
I'm working with a Facebook scraping, however, I'm having difficulties working with the responses to the comments.
For the collection of comments, this is the code:
import pandas as pd
import ...
0
votes
1
answer
197
views
Extracting information from a dictionary within a dataframe
using the module facebook_scraper in Python I would like to extract the text of Facebook comments of posts to conduct a sentiment analysis of a certain page.
With the following usage of the built-in ...
0
votes
1
answer
112
views
From webscraping to dynamic tables with Python
This is my first code as I am doing a project for college. I am trying to figure out how to search through Facebook pages for specific information about all the libraries in my State during this year'...
0
votes
1
answer
130
views
Turn List of Dictionaries or Tuples into DataFrame. Actions - Column, Value - rows
I am doing an API call to Facebook and one of the fields is "actions" which creates a dictionary that I would like to break up in to separate DataFrame columns. I have seen a few similar questions ...
3
votes
1
answer
3k
views
Fbprophet quickstart example - KeyError: 'ds'
Following the quickstart example & having a problem when trying to fit the model at:
m.fit(df);
The terminal shows:
Traceback (most recent call last):
File "/home/cartier/miniconda2/envs/...
0
votes
2
answers
1k
views
Unicode / Ascii errors importing text into Pandas Dataframe
I'm using Python (2.7) and Requests to grab data from the Facebook API and then using Pandas to report on the output via IPython. Somewhere along the journey I'm encountering Unicode / Ascii errors ...