Posts

Showing posts with the label datalake

Featured Post

Python Program: JSON to CSV Conversion

Image
JavaScript object notion is also called JSON file, it's data you can write to a CSV file. Here's a sample python logic for your ready reference.  You can write a simple python program by importing the JSON, and CSV packages. This is your first step. It is helpful to use all the JSON methods in your python logic. That means the required package is JSON. So far, so good. In the next step, I'll show you how to write a Python program. You'll also find each term explained. What is JSON File JSON is key value pair file. The popular use of JSON file is to transmit data between heterogeneous applications. Python supports JSON file. What is CSV File The CSV is comma separated file. It is popularly used to send and receive data. How to Write JSON file data to a CSV file Here the JSON data that has written to CSV file. It's simple method and you can use for CSV file conversion use. import csv, json json_string = '[{"value1": 1, "value2": 2,"value3

Here's to Know Data lake Vs Database

Image
In a data lake, data stored internally in a repository. You can call it a blob. The data in the lake a no-format data, but you need a schema for the database.  Data lake Repository Database In the database, the Schema definition you need before you store data on it. It should follow Codd's rules. Here data is completely formatted. The data stores here in Tables, so you need SQL language to read the records. Poor performance in terms of scalability. Data lake It doesn't have any format - it's just a dump. You can send this dump to the Hadoop repository for data analysis. This repository can be incremental. You can build a database. The data lake is a dump of data with no format. It needs a pre-format before it sends for analytics. Data security and encryption: You need these before you send data to Hadoop. In real-time, you need to pre-process data. This data you need to send to the data warehouse to get insights.