Tag » Csv

Parsing CSV into an Ansible vars_file

Somebody asked me if it was possible to parse a CSV file into an Ansible vars_file. A little casual googling didn’t yield good results, so I wrote up a little hack. 400 altre parole

Python

Import and Export of data on MongoDB

A quick blog mentioning how to import data into MongoDB, as well as the other way round, exporting data from MongoDB.

Import data using mongoimport… 481 altre parole

Csv

Add UTF-8 BOM to CSV

Programs such as Microsoft Excel display incorrectly when opening CSV files which contain Unicode characters. To fix that, I always have to put a BOM (Byte order mark) character at the top of the CSV file. 89 altre parole

Simple Classification with Scikit-learn

Read Data

import pandas

fruits = pd.read_table('fruit_data_with_colors.txt')

Data Exploration

fruits.head()
print(fruits['fruit_name'].unique())
print(fruits.groupby('fruit_name').size())
import matplotlib.pyplot as plt
import seaborn as sns

sns.countplot(fruits['fruit_name'],label="Count")
plt.show()
Python

Why NoSQL needs schema-free ETL tools...

Many NoSQL databases lack tooling and analytics. Here I discuss why a schema-agnostic modern ETL approach can help NoSQL vendors and customers… 2.552 altre parole

MarkLogic

CSR, TJSL, PKBL ?

UU nomor 40 tahun 2007 tentang Perseroan Terbatas dan Peraturan Pemerintah nomor 47 tahun 2012  tentang Tanggung Jawab Sosial (TJSL) menjadi rujukan pelaksanaan CSR di Indonesia. 389 altre parole

CSR di Indonesia ?

Penerapan CSR di Indonesia juga semakin banyak dilaksanakan. Sebagai bangsa yang memiliki akar budaya gotong royong dan kekeluargaan, bangsa Indonesia sebenarnya telah lama melaksanakan nilai-nilai… 229 altre parole