Pandas groupby and select first, last or nth row in each group
In this post we will see how to select specific rows in each group of pandas groupby object. There are certain cases where we are interested to select only t...
In this post we will see how to select specific rows in each group of pandas groupby object. There are certain cases where we are interested to select only t...
In this post we will create tensorflow dataset(tf.data.Dataset) from MNIST image dataset using image_dataset_from_directory function
In this post we will create tfrecord files from images and the dataset that we will be using is google colab MNIST sample_data for training.
As data comes in many shapes and forms, Missing values in pandas are denoted as NaN, It is a special floating-point value. There are also other ways to repre...
There is a crop function in PIL to crop the image if you know the crop area coordinates. How would you crop the central region of Image if you want certain f...
In this article we are going to compare the performance of two approaches i.e. Apply method and Vectorization which can be used to apply a function on datafr...
In this article we are going to see how to search for the closest date in a dataframe for a given date
In this article we are going to learn how to search a string in whole dataframe across multiple columns
In this article we are going to see what are the convenience functions that can be used to check if elements of a 1D array exists in another 2D array or not