nickslevine
nickslevine
I'm wondering how hard it would be to make an implementation of this that would not require initially setting IP ranges. Rather, the bot would look at every anonymous Wikipedia...
Implement resampling of df to different time frequency. See pandas docs [here](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.asfreq.html#pandas.DataFrame.asfreq) and [here](http://pandas.pydata.org/pandas-docs/stable/api.html#resampling).
Change `z.sortByCol(columnName, direction, df)` so that it accepts an array of column names and sorts a df by the specified columns, giving precedence to columns listed earlier, as in [pandas](https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.sort_values.html).
This should work: ```ocaml let reverse = str => { let len = String.length(str); let reversed = String.init(len, i => str.[len - 1 - i]); reversed; }; ```