Skip to content

Instantly share code, notes, and snippets.

@priom
Last active February 15, 2025 10:57
Show Gist options
  • Save priom/fb5b9cb475b42784c6b2dafd824877a7 to your computer and use it in GitHub Desktop.
Save priom/fb5b9cb475b42784c6b2dafd824877a7 to your computer and use it in GitHub Desktop.
Convert Feather file format to CSV
# pip install pandas pyarrow
import pandas as pd
# Read the feather file into a DataFrame
df = pd.read_feather("FILE_PATH.feather")
# Convert the DataFrame to a CSV file, without writing row indices
df.to_csv("FILE_PATH.csv", index=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment