Created
July 26, 2020 13:18
-
-
Save ajkerrigan/3f18a9603caf5a9f190b4de8b2c03a33 to your computer and use it in GitHub Desktop.
Set up new file types in .visidatarc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from visidata import JsonSheet, PandasSheet, VisiData | |
@VisiData.api | |
def open_tfstate(p): | |
return JsonSheet(p.name, source=p) | |
@VisiData.api | |
def open_parquet(p): | |
return PandasSheet(p.name, source=p) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment