Last answered:

30 Jan 2023

Posted on:

28 Jan 2023



height = df_used_cars["Cars Listings"]
IndentationError: unexpected indent

how to resolve this error? and why do this type of error occur

1 answers ( 0 marked as helpful)
Posted on:

30 Jan 2023


Hi Vikash,
thanks for reaching out! The reason this error occurs is likely because you have either a space or a tab empty before the line of code. A tab means something very specific in Python and that's why it's throwing the error. If your remove the spaces before your code line, you should be alright.
Hope this helps!

365 Eli

Submit an answer