Necessary Pandas Function For Data Analysis

How to get unique values of a column How to exclude columns with ‘object’ datatype from a pandas DataFrame. How to get a list of columns of a certain datatype of a Pandas DataFrame. In this case, the datatype is ‘object’. Get list of columns containing missing data and remove the columns from dataframe.

Solution: Expected 2D array, got scalar array instead

I was trying to fit a basic machine learning model of linear regression. My code was simple. I got the following error. ValueError Traceback (most recent call last) /tmp/ipykernel_10591/ in <module> —-> 1 reg.predict(3300) ~/.local/lib/python3.8/site-packages/sklearn/linear_model/ in predict(self, X) 360 Returns predicted values. 361 “”” –> 362 return self._decision_function(X) 363 364 _preprocess_data = staticmethod(_preprocess_data) ~/.local/lib/python3.8/site-packages/sklearn/linear_model/ in … Read more

How To Enable Wireless Driver on Ubuntu

Currently, I am using Ubuntu 20.04 LTS as my daily driver. When I first installed it on my laptop, I did not find any wireless network. There was no wireless driver for my Broadcom BCM43142 wireless module on my dell laptop. It was very frustrating and heartbreaking as I was looking to use Ubuntu as … Read more

How To Control Akash DTH With Mobile

Akash DTH is the only DTH operator in Bangladesh. It has a moderate number of customers throughout the country. Most of its customer is young and loves technology. Akash DTH requires its own remote control to operate. So you have a TV remote and a DTH remote. This is very tiresome for many people. Because … Read more

How To Get Sonali Bank Personal Loan

A personal loan is one of the easiest ways to finance an emergency situation. You can get a personal loan within a very short time with minimum documentation. Sonali bank is the biggest bank in Bangladesh with 1227 branches. Most salaried people in Bangladesh use Sonali Bank LTD as their salary account. If you have … Read more

Sanchayapatra Interest Calculator

Sanchayapatra is one of the safest investment options in Bangladesh. Many people are depending on interest from Sanchayapatra to run their families. There are four types of Sanchayapatra. They offer different interest rates for different people. Here I have made a simple Sanchayapatra interest calculator calculate your earnings. Select your Sanchayapatra type, investment amount, and … Read more

Updated Sanchayapatra Interest Rate 2022

Sanchayapatra or Savings Certificate is the most popular form of investment in Bangladesh. It is safe, and secure, and provides the best interest rate. It provides extra income to many people with some savings. Some people especially retired person run their families with the help of Sanchayapatra. Recently, the Bangladesh Government has changed the interest … Read more

Benefits of Sonali E-Wallet

Sonali Bank Ltd is the largest bank in Bangladesh. It has the largest customer base all over the country. It has more than 1200 branches. But it was lacking modern technological features until they launched Sonali E-Wallet. You can enjoy all the modern banking transactions online quickly and securely. It has already simplified the life … Read more