title: is it possible to explode a pandas dataframe inplace?
body: <p>From the <a href="https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.explode.html" rel="nofollow noreferrer">pandas.DataFrame.explode docs</a> it doesn't look like it.</p>
  <p>Still, any chance there's some clever way to achieve this?</p>
  <p>Context: I have an object that gets initialized with a dataframe, and I'd like to manipulate it in place such that the scope above the object will keep access to the resulting dataframe without polling the object.</p>