Length of side of square should be 5 meter. Square has four points, therefore, to generate four points. However, polygon requires the last point to be the same as the starting point. So I need an additional point that is the same as the first point. I need to put these five points sequentially in a list and use this list to generate a polygon.
your_dataframe['geometry'].buffer(5, cap_style=3)
(ref)