Questions tagged [json]
The json tag has no usage guidance.
29
questions
1
vote
1answer
26 views
Problem reading python code
Can someone explain the following python code.
value_geojson["features"][0]["properties"]["title"]
value_geojson is a geojson ...
1
vote
1answer
81 views
parsing dictionary to JSON [closed]
I used the following code to pass a json string as a parameter in requests.post method,
...
0
votes
1answer
58 views
conversion of dictionary to json to be sent to requests.post
I have a data frame like this.
df=pd.DataFrame({'sub1':[10,20,30,40],'sub2':[5,10,15,20],'sub3':[1,2,3,4]})
and a dictionary like this.
...
0
votes
0answers
26 views
0
votes
0answers
3 views
Surpassing MongoCompass limit() limitations
I have a cluster containing aproximately 8 million files in json format(tweets). My problem is that when analyzing the schema, I can only visualize 1000 files, no matter what number i enter in the ...
0
votes
1answer
614 views
1
vote
0answers
30 views
Python and data analysis how can we transform a json array into rows having json properties as columns titles?
I need to create a recommendation system for a small company using its 500 first orders.
I received a .json file having the following structure:
...
1
vote
0answers
19 views
Tool/Technology/Framework to process file with 1GB [closed]
I'm new to datascience, but I have the following problem:
1) Read a file of 1GB, which each line is a json object
2) There are two more files, much smaller, which I need to JOIN some data
In this ...
1
vote
1answer
9k views
How to save API data into CSV format?
Is there an easy way to convert API data with python commands and output the results in CSV format?
Here's what I'm doing now:
...
0
votes
1answer
84 views
Accessing Flask WS APIs over intranet -
I have 2 scripts - A.py and B.py, and both are Flask apps.
A.py renders a web page and acts as my UI taking inputs from user.
B.py is hold the main logic and has a web service API being called by A.py....
1
vote
1answer
92 views
SQL and JSON database - R
I have a database (PostgresSQL) which looks like this:
""results"":
{""WEBS"":
{""WEBS_4"": [{""ip"": ""XXXXX"", ""value"": ""YYYY""}]}}
I would ...
2
votes
1answer
7k views
Load large .jsons file into Pandas dataframe
I'm trying to load a large jsons-file (2.5 GB) into a Pandas dataframe. Due to the large size of the file pandas.read_json() will result in a memory error.
...
0
votes
1answer
26 views
How can I use a multivariable list of strings as a single X variable / feature in a Neural Network Model
Here is an example of what I am trying to do.
I am using a bunch of X variables to predict a Y.
X1 = Number of days since applying first medication
X1.1 = Total times the medication should have ...
4
votes
1answer
5k views
Python & Pandas : TypeError: to_sql() got an unexpected keyword argument 'flavor'
I want to store JSON Data into MySQL Database using Python.
I used dataframe of pandas. I found that ...
1
vote
1answer
164 views
Python equivalent of Wolfram Language Query for JSON?
The Wolfram Language has a Query function that can traverse data structures and apply functions at different levels of the structure. I am working with multi-level ...
2
votes
1answer
1k views
Keras save model FailedPreconditionError
Model works and fits. After adding model.save('model.h5'). I am receiving
...
0
votes
1answer
915 views
Prepare JSON data from sentiment analysis to perform Logistic Regression
I'm new to this field, so very sorry for this basic question.
I'm working on a text analysis project using Google's NLP API along with some other APIS. After performing the sentiment analysis I have ...
2
votes
1answer
47k views
AttributeError: 'str' object has no attribute 'keys'
While converting json file to csv,I got the above error
My code is shown below:
...
0
votes
1answer
45 views
Convert graph database relationships into node properties [closed]
I have a neo4j database that stores forum posts. Replies to specific posts are encoded using a replyto relationship. I am trying to retrieve all the information ...
2
votes
0answers
13k views
How to Process Large JSON Files with Python [closed]
I've been using Python for quite some time now, scripting command line tools, etc. I'm just now moving to Data Analysis with the language; are there any tips for handling larger json files. ...
0
votes
1answer
16k views
Converting Json file to Dataframe Python
I have a json file which has multiple events, each event starts with EventVersion Key. The data looks similar to the following synthesized data.
...
0
votes
1answer
681 views
clustering JSON data into three clusters, based on single attribute, using python
With data that looks like this:
...
0
votes
1answer
488 views
Running SQL-like queries over large schemaless JSON dataset in the cloud?
I've got about 5 million JSON files, about 50GB in total. They do not have a consistent schema (they're broadly the same format, but some have extra extension fields, some have missing fields, etc - ...
2
votes
1answer
1k views
Ingestion of periodic REST API Calls into Hadoop [closed]
We are planning to use REST API calls to ingest data from an endpoint and store the data to HDFS. The REST calls are done in a periodic fashion (daily or maybe hourly).
I've already done Twitter ...
1
vote
3answers
12k views
Unable to open .json file in pandas
I want to convert a json file into a dataframe in pandas (Python). I tried with read_json() but got the error:
...
-3
votes
1answer
400 views
Keras Import Error
While importing keras (from keras.models import Sequential), I am getting the following error:
...
1
vote
2answers
692 views
What is a good way to start Data Analysis of unknown dataset (JSON data) [closed]
I am working with an organization to analyse their data residing in Mongodb and to look for any trends/patterns in the data. I am quite new to the professional field of Data Analysis but have a good ...
0
votes
1answer
6k views
How to read Several JSON files to a dataframe in R?
I have a folder with 30,000 plus JSON file. A sample file with contents is posted below.
...
6
votes
1answer
329 views
Database options for JSON storage, queried with Apache Drill
I am planning to set up a JSON storage system. It will store tens of millions of JSON records, all in the same format. I'd like to be able to query the data using Apache Drill.
It looks like there is ...