I was hoping someone could help me figure out a way to print an array vertically. please note my array length not equal.
[
["birthdate", "birthmonth", "contact_id", "company_id", "contact_type_id", "type_name", "vendor_type_id", "is_active", "first_name", "last_name", "email_address", "phone_number", "mobile_number", "fax_number", "address", "state_id", "state_name", "zip_code", "labels", "profile_logo", "website_url", "employees", "parent_id"],
["3", "2", "244", "3", "1", "Customers", null, "1", "sorthia", "daksh choratiya", "[email protected]", "8787877887", "7878787887", "7.87879E+11", "sdfkjhfkd", null, null, "45454", ",undefined,", "https://s3.us-west-2.amazonaws.com/home-inspection%2FContactsCSV-EXCEL-Files/1519826594241_download.png"],
[null, null, "515", "3", "1", "Customers", null, "1", "prashant", "gadhiya bhai", "[email protected]", "1231321321", "1321321313", "1321321231", "13213213", "1", "Alabama", "12345", ",undefined,"],
["11", "11", "529", "3", "1", "Customers", null, "1", "Hardik bhai bhai", "Patel bhai", "[email protected]", "98765432100", "65498732100", "9.87978E+11", "Addrreess surat", "6", "Colorado", "987640", ",undefined,"]
]
I need to display data in below format how can i display this array in vertically I need output like below table how can i do this?
|birthdate | 3 | null |
|birthmonth | 2 | null |
|contact_id | 244 | 515 |
|company_id | 3 | 3 |
|contact_type_id | 1 | 1 |