 marrying old money. I never wanted him as a father, never wanted his name."
"Xavier," Erik said quietly to himself, considering sitting up but his stomach gurgled and he decided against it. Erik had a vague recollection of the name. "It would explain how a bigot and mutant hater like Markos could have a son who is a mutant."
"Oh, Kurt would have done away with me a long time ago," Xavier said, voice low and full of contempt. "He would have killed me off if he could have, but he needed the heir to the Xavier fortune alive until he could get me to sign over every last dime to him."
"How did he not manage?" Erik asked curiously. "You were stoned out of your mind when I came across you."
A small laugh escaped Xavier. "Would you normally just let your guard down and take a stranger with you in your car? You never once thought it strange that suddenly you thought it was a good idea to make off with some kid?"
"I could have used you against Markos," Erik argued. Xavier couldn't have been that strong, could he?
"I am that strong," came the answer.
"You were on so many suppressants I am amazed you're still alive," Erik tried. If it was true-
"There is no such thing as suppressants strong enough to keep me from using my gift," Xavier said with a small smile.
Erik wasn't sure how to explain what that smile did to him. It wasn't fear. It wasn't what he'd experienced under Shaw, who had thrived on power and on the fear of the people following him. If he hadn't still been nauseated from the tranq, he might even have considered the curl of physical want that settled like a coiled snake in the pit of his stomach.
"Erik," Erik finally said. "I'm Erik Lehnsherr." He paused for a moment, searching for the right words. Xavier kept quiet, not interrupting him, just focusing on the road. "I want freedom and equality for mutants."
Xavier nodded after a moment. "Charles Xavier," he said quietly. "For too long have we been suppressed and feared for being different."
Erik breathed out slowly.
"Where are we going?" Erik finally asked, carefully sitting up.
"Canada. I have contacts there who can help me get what I want." Charles pursed his lips.
"And that would be?" Erik asked.
"To work against the US government and its crusade against all that is mutant, all that is different." He paused for a moment and the car grew quiet. Only the sound of the engine and the tires on the road. "And Kurt Marko's head on a silver platter," Charles finally said, voice low, and intense.
Erik felt his lips curve into a small grin. He leaned back against the backseat and laughed. He'd set out for a kitten and found a tiger, it seemed.
The End
Actions
Randall_Flagg, maco_x, RobinWayne, Tonja, Andri, RocketB, Lucrecia_B, Haylie, Pianopurr, rhaski, Unicorny_Potato, Macbabe01, raumschiffe, Cortassian, Katsudonmustsleep, JoeAverage, Peggy_rogers, nyappylife, prettytonystark, TheClockworkCat, radiant_hope, escapeacity, Gryffyn, holy_smokes, Unrepentant_Marvelite, Fatsan_Lala, KittytheGamer293, GenuineSnoof, moon01234, moonsand, polka_ducha, enigmatic_v0id, readergirl, ramsmsc (afoolwrites), TheComeBackKid99, itsmayhemily, SpideypoolAlways, Karlina101, Serafima, MajesticNin, Tsubame, AvaKay, angelskuuipo, troll_under_the_bridge, Cigam_DLiw, shineystark, radals3, Elee, TaylorAriel, GallifreyAutumnsNoMore, and 28 more users as well as 36 guests left kudos on this work!
Fullmetalcarer Wed 19 Sep 2018 04:08PM EDT
Last Edited Wed 19 Sep 2018 04:08PM EDT
Comment Actions
ximeria Thu 20 Sep 2018 01:57AM EDT
Comment Actions
oolongs Wed 19 Sep 2018 06:14PM EDT
Comment Actions
ximeria Thu 20 Sep 2018 01:57AM EDT
Comment Actions
DarkJediQueen Wed 19 Sep 2018 06:24PM EDT
Comment Actions
ximeria Thu 20 Sep 2018 01:58AM EDT
Comment Actions
LoveIsDead Wed 19 Sep 2018 06:35PM EDT
Comment Actions
ximeria Thu 20 Sep 2018 02:00AM EDT
Comment Actions
Gerec Wed 19 Sep 2018 08:00PM EDT
Comment Actions
ximeria Thu 20 Sep 2018 02:01AM EDT
Comment Actions
BadWolf88 Wed 19 Sep 2018 08:59PM EDT
Comment Actions
ximeria Thu 20 Sep 2018 02:02AM EDT
Comment Actions
troll_under_the_bridge Thu 20 Sep 2018 07:40AM EDT
Comment Actions
ximeria Wed 26 Sep 2018 03:28PM EDT
Comment Actions
GenuineSnoof Sat 22 Sep 2018 02:36PM EDT
Comment Actions
ximeria Wed 26 Sep 2018 03:29PM EDT
Comment Actions
Fatsan_Lala Sun 23 Sep 2018 05:22AM EDT
Comment Actions
ximeria Wed 26 Sep 2018 03:29PM EDT
Comment Actions
JoeAverage Fri 28 Sep 2018 01:41PM EDT
Comment Actions
ximeria Sat 29 Sep 2018 03:52AM EDT
Comment ActionsPlease answer the following question: What would be the ★-rating of this review (★ being the lowest and ★★★★★ being the highest)? "Everything is fine  great app. But when not all cores are activated  the icon changes to an ugglier one. It's better it keep being the same and just shows the cores working (quad core -> always 4 even if sometimes not all of them are working...)"
A:
★★★★★The drying process consists in progressively eliminating part of the initial water content from the product, by means of heat administration.
Lowering the degree of humidity means reducing the enzymatic activity, thus limiting fermentation to a minimum.
In short, drying is carried out in systems equipped with suitable heat sources that heat a certain mass of air to increase its evaporative power. This invests the product to be treated and increases its surface vapor tension, thus allowing the water contained in it to evaporate.
The in-depth analysis of the phenomena related to drying has recently been stimulated, with the transition from technology based on manual skills and discontinuity of processing, to the specific technology of the continuous process, based on the automation of all its phases.Q: Pandas groupby and apply function on group On a pandas df of the below info
STOCK    YR    MONTH  DAY     PRICE
AAA     2022    1     1        10
AAA     2022    1     2        11
AAA     2022    1     3        10
AAA     2022    1     4        15
AAA     2022    1     5        10
BBB     2022    1     1        5
BBB     2022    1     2        10
BBB     2022    2     1        10
BBB     2022    2     2        15

I am trying to group by STOCK and applying the following function
def next_pred(currents):
    model = SimpleExpSmoothing(currents['PRICE'])
    model_fit=model.fit()
    next_price=model_fit.predict()     
    return (int(np.floor(next_price)))

I am using the following line of code:
future_price =df.groupby(['STOCK']).apply(lambda x: next_pred(x)).reset_index()

However, I am getting the below error:
IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed

A print of the df['PRICE'] from within the function, prints the data properly. Any suggestions on what might be causing the indexing error?
Thanks!
But I am not sure

A: With the current sample data, no error. To reproduce the error, add this row for example
df.loc[9] = ['CCC',2022,1,1,30]

then the error is related to groups that have only one row. One way is then to remove these 1-row groups using duplicated like:
res = (
    df[df['STOCK'].duplicated(keep=False)]
     .groupby(['STOCK']).apply(lambda x: next_pred(x))
     .reset_index()
)

News Rickeys World News
- ajay_bhargav
- Fri Jul 14 2006, 04:51 AM
hello friends,Tags hello friendsfriends checkece
to all my ECE-1 friends, check out the gallery for pics from the last day in college
i hope you dont wanna miss it
please post your comments regarding it.
to all my