Pandas Series is a one-dimensional labeled-array that capable to hold of any data type. Labels must be a hashable type. And element in the series can be accessed similarly to ndarray from numpy library (to create ndarray need to import numpy library). Elements of a series can be accessed in two ways: position or label/index.Continue reading “Know the anatomy of the Pandas Series”
Author Archives: Danny Sibarani
Composer: Content-Length mismatch, received 372 bytes out of the expected 291742
When trying to update the Laravel installer using Composer, a content length mismatch exception may occur. This error is because the composer repository key for the packagist has changed from “packagist” (prior to composer V1.2.3) to “packagist.org”: Solution to this error, just change the composer default repo url: composer config -g repo.packagist composer https://packagist.org composerContinue reading “Composer: Content-Length mismatch, received 372 bytes out of the expected 291742”
How to connect PostgreSQL with XAMPP
This article will help you to install and Integrate PostgreSql with XAMPP for practicality use: Download the PostgreSQL installer from EnterpriseDB and follow the instruction. Assuming your XAMPP is located in D:\XAMPP; so better locate your PostgreSQL in the same folder, sample: D:\XAMPP\PostgreSQL\12. Uncomment below lines in php.ini (usually located in D:\XAMPP\php\php.ini): From:;extension=pdo_pgsql;extension=pgsqlTo:extension=pdo_pgsqlextension=pgsql Stop andContinue reading “How to connect PostgreSQL with XAMPP”