New York City wildflowers #5

Pennsylvania smartweed, Brooklyn

Does anyone recognize this? It seems to be very common.

Update, 26 June: Pamela Leo reports that it’s Pennsylvania smartweed.