flat_table icon indicating copy to clipboard operation
flat_table copied to clipboard

An extention to json_normalize() in pandas

Results 8 flat_table issues
Sort by recently updated
recently updated
newest added

Hi Metinsenturk, It was Wonderfil about the flat-table, thanks for your effort. When I try to use this for a json data, it is not working with an empty list...

Hi, Since updating my pandas to version 2.0 I am getting an error when calling flat_table.normalize. `AttributeError: 'DataFrame' object has no attribute 'iteritems'. Did you mean: 'isetitem'?` After reading [the...

Hi, Original dataframe size is in Kb but i don't know why I'm getting below memory error MemoryError: Unable to allocate 4.51 GiB for an array with shape (4, 151393970)...

```python import pandas as pd import flat_table df = pd.DataFrame([ {"list_of_properties":[]} ]) flat_table.normalize(df=df, expand_dicts=True, expand_lists=False) ``` Will result in a series of errors. This might be valid for `expand_lists=True`, but...

/home/bjorn/.local/lib/python3.8/site-packages/flat_table/_norm.py:92: FutureWarning: The pandas.np module is deprecated and will be removed from pandas in a future version. Import numpy directly instead typ = type(pd.np.nan).__name__ /home/bjorn/.local/lib/python3.8/site-packages/flat_table/_norm.py:53: FutureWarning: pandas.io.json.json_normalize is deprecated, use...

question

Hey there, this is a fantastic package! Would you be receptive to a contrib (or are you receptive to making the change) to support a custom separator character passed as...

Trying to expand a dataframe: ` expanded_df = flat_table.normalize(df, expand_lists=True, expand_dicts=True) ` I got a bad shape after expanded_df My df structure is like this: Intents | Clean_Description | Clean_Short_Description...

bug

Hi, First of all, sorry for leaving you without any tests on this package, my bad. The very first thing in the next release is to add tests. There will...

enhancement