While creating nodes, I am executing the below query:
load csv with headers from "file:C:/Users/abc/Documents/Neo4j/airports.csv" as airports
create (a1:Airport {label: airports.label, city: airports.city, state: airports.state});
My csv file is as follows:
label city state
DTW Detroit Michigan
ATL Atlanta Georgia
PIT Pittsburgh Pennsylvannia
BOS Boston Massachussetts
When executed, it shows :
"Added 51 labels, created 51 nodes"
instead of
"Added 4 labels, created 4 nodes, set 12 properties"
Anyone can tell me why and how it is creating 51 labels instead of 4 labels?