dfply

It looks like a List but I can't index into it: ValueError: Length of values (2) does not match length of index (279999)

It looks like a List but I can't index into it: ValueError: Length of values (2) does not match length of index (279999) Question: I am importing the CSV file from here: https://raw.githubusercontent.com/kwartler/Harvard_DataMining_Business_Student/master/BookDataSets/LaptopSales.csv This code works: from dfply import * import pandas as pd df = pd.read_csv("LaptopSales.csv") (df >> select(X["Date"]) >> mutate(AdjDate = (X.Date.str.split(" "))) …

Total answers: 2