In Revit 2023
Hi Mandeep, What does the warning say? That would help for others to provide a response
CSV (and Excel) require that the input is a list of lists - and each list is a row Sequential rows example
Transposed rows example