How do you write a .feather file into GCS?

  dataframe, feather, google-cloud-storage, python

Previously worked on .csv files which was straightforward to upload to GCS

For csv I would do the following, which works:

blob = bucket.blob(path)
blob.upload_from_string(dataframe.to_csv(), 'text/csv')

I am trying to do the same i.e. write the dataframe as a .feather file in bucket

blob = bucket.blob(path)
blob.upload_from_string(dataframe.reset_index().to_feather(), 'text/feather')

However, this fails saying to_feather() requires a fname. Any suggestions/guidance on where I went wrong would be helpful.

Source: Python Questions