How To Save a File as a Pickle Object to the Databricks File System

Rasputin312
Databricks Partner

I tried running this code:

```

def save_file(name, obj😞
   with open(name, 'wb') as
        pickle.dump(obj, f)

``` 

One file was saved in the local file system, but the second was too large and so I need to save in the dbfs file system.  Unfortunately, I don't see any method that allows me to do that.  They all refer to saving dataframes, and this is not a dataframe.  It's a python object.