# Understanding in-place broadcasting syntax (.=)

**URL:** <https://discourse.julialang.org/t/understanding-in-place-broadcasting-syntax/93888>\
**Category:** New to Julia\
**Tags:** broadcast\
**Created:** [February 1, 2023, 4:38pm UTC](https://discourse.julialang.org/t/understanding-in-place-broadcasting-syntax/93888 "2023-02-01T16:38:05Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![sijo](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@sijo](https://discourse.julialang.org/u/sijo)\
**Post date:** [February 2, 2023, 8:20am UTC](https://discourse.julialang.org/t/understanding-in-place-broadcasting-syntax/93888/10 "2023-02-02T08:20:40Z")

</div>

> [@uniment](#):
>
> Writing `z .= [1,2,3]` is similar. It looks deceptively similar to `z = [1,2,3]`, but they’re two different things: the former updates the stored values in-place, while the latter (re)assigns the identifier entirely.

Except for DataFrames 🤪 (see [What if `df.col .= v` was in-place?](https://discourse.julialang.org/t/what-if-df-col-v-was-in-place/89367))

---

_[View the full topic](https://discourse.julialang.org/t/understanding-in-place-broadcasting-syntax/93888)._
