#!/usr/bin/env python # coding: utf-8 # In[ ]: get_ipython().run_line_magic('load_ext', 'autoreload') get_ipython().run_line_magic('autoreload', '2') # In[ ]: import polars as pl df = pl.scan_csv('./bike_sharing_dc.csv', try_parse_dates = True) strange_name = f"{''.join(chr(i) for i in range(1, 256))}" df = df.select([ pl.col("date").alias(strange_name), pl.col("*") ]) df = df.fetch(10) df = df.with_columns( [ pl.lit(df["holiday"].set_at_idx(1,strange_name)), ]) df # In[ ]: import pygwalker as pyg pyg.walk(df) # In[ ]: