Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

__init__.py 215 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
  1. import os
  2. def save_feather(df, filename, path):
  3. df.reset_index(inplace=True)
  4. # Guardamos dataset como archivo feather
  5. os.makedirs(path, exist_ok=True)
  6. df.to_feather(f'{path}/{filename}.feather')
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...