Pyarrow Table fügt Spalte „__index_level_0__“ hinzuPython

Python-Programme
Anonymous
 Pyarrow Table fügt Spalte „__index_level_0__“ hinzu

Post by Anonymous »

Wenn ich eine Pandas-DF erstelle und diese in eine Pyarrow-Tabelle umwandle, erhalte ich eine zusätzliche Spalte „index_level_0“.
Wie werde ich sie los?

Code: Select all

from pyarrow import Table
import pandas as pd

df_empty = pd.DataFrame(columns=["a", "b", "c",])
df_empty = df_empty.astype(
{"a": "int64", "b": "datetime64[ns]", "c": "int64"}
)
df = Table.from_pandas(df_empty)
Image

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post
  • Geht es von Pyarrow Chunkedarray zur Pyarrow-Tabelle. Wie checkt ich nach?
    by Anonymous » » in Python
    0 Replies
    1 Views
    Last post by Anonymous
  • Wie füge ich HTML mit nur CSS in die Indexspalte hinzu? [Duplikat]
    by Anonymous » » in HTML
    0 Replies
    4 Views
    Last post by Anonymous
  • mit nur CSS in die Indexspalte hinzu? [Duplikat]
    by Anonymous » » in CSS
    0 Replies
    5 Views
    Last post by Anonymous
  • Das Gebäuderad für Pyarrow (pyproject.toml) lief nicht erfolgreich
    by Anonymous » » in Python
    0 Replies
    14 Views
    Last post by Anonymous
  • Parkettdateien mit Polaren können nicht gelesen werden, während Pyarrow dies kann
    by Anonymous » » in Python
    0 Replies
    0 Views
    Last post by Anonymous
  • cron