Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error **ValueError: Unable to coerce to Series, length must be 1: given n** **in python**. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

Table of Contents

## How ValueError: Unable to coerce to Series, length must be 1: given n Error Occurs?

Today I get the following error **ValueError: Unable to coerce to Series, length must be 1: given n** **in python**.

## How To Solve ValueError: Unable to coerce to Series, length must be 1: given n Error ?

**How To Solve ValueError: Unable to coerce to Series, length must be 1: given n Error ?**To Solve ValueError: Unable to coerce to Series, length must be 1: given n Error by seeing in error it is cleared that, the array has to have the shape of one ,

so use reshape to make it in correct shape,`predictions=predictions.reshape(780,1)`

**ValueError: Unable to coerce to Series, length must be 1: given n**To Solve ValueError: Unable to coerce to Series, length must be 1: given n Error by seeing in error it is cleared that, the array has to have the shape of one ,

so use reshape to make it in correct shape,`predictions=predictions.reshape(780,1)`

## Solution 1

by seeing in error it is cleared that, the array has to have the shape of one ,

so use reshape to make it in correct shape,

`predictions=predictions.reshape(780,1)`

**Summery**

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

**Also, Read**