You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike pd.read_csv, when we do pd.read_json, the dataframe is read in as a pandas dataframe instead of a lux dataframe. One possible difference is because read_csv is part of pd.io.parsers, whereas read_json is part of pd.io.json. This bug is part of the larger effort for ensuring pandas API coverage. We do not currently have a set of test for different file inputs, i.e., read_* functions in Pandas.
import lux
import pandas as pd
df = pd.read_json('{"key_1":{"item_1":1,"item_2":2,"item_3":3},"key_2":{"item_1":"x","item_2":"y","item_3":"z"}}')
type(df)
The text was updated successfully, but these errors were encountered:
Unlike pd.read_csv, when we do pd.read_json, the dataframe is read in as a pandas dataframe instead of a lux dataframe. One possible difference is because read_csv is part of pd.io.parsers, whereas read_json is part of pd.io.json. This bug is part of the larger effort for ensuring pandas API coverage. We do not currently have a set of test for different file inputs, i.e.,
read_*
functions in Pandas.The text was updated successfully, but these errors were encountered: