Created
June 12, 2016 04:08
-
-
Save rbiswas4/fae7f0b691f69b335e9f8c6ca2dd0bae to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import numpy as np | |
import pandas as pd | |
# Note that the np.array(fits_rec) is essential for functionality like groupby to not fail | |
d = np.array(fits_rec).byteswap().newbyteorder() | |
df = pd.DataFrame(d) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment